Tool Catalog

Tool catalog #

The server exposes twelve tools, grouped by what they let the assistant do. Read tools only ever see posted transactions in reports; drafts appear once posted.

Looking things up #

ToolWhat it does
find_accountsSearch the chart of accounts by partial name and/or account type — the way the assistant finds the account_id values every other tool needs
get_transactionInspect one transaction: header (including is_posted), line items, and its assignments/clearances

Reporting #

ToolWhat it does
get_financial_reportIncome statement, balance sheet, cashflow statement (by date range) or trial balance (by year) as JSON
get_account_statementOne account’s activity over a period; outstanding_only=true returns just the uncleared items — the natural input for reconciliation
get_agingAging schedule of receivables (clients owing you) or payables (suppliers you owe), bucketed by how overdue

Recording — always drafts #

Each recording tool creates a pending draft and accepts dry_run=true for a no-commit preview.

ToolWhat it does
record_saleCash sale, client invoice, or credit note
record_purchaseCash purchase, supplier bill, or debit note
record_client_receiptMoney received from a client; auto-allocated against their outstanding invoices
record_supplier_paymentMoney paid to a supplier; auto-allocated against their outstanding bills
record_journal_entrySimple or compound double-entry adjustments

Committing & reconciling #

ToolWhat it does
post_transactionCommit a draft to the ledger. Irreversible — posted transactions are immutable; the tool reads the transaction back afterwards and reports whether the post actually landed
reconcile_paymentAllocate a posted receipt/payment against specific outstanding invoices/bills, or clear oldest-first with all_outstanding=true

Period close #

Closing a reporting period is modelled as a supervised, multi-turn flow rather than a single tool call: prepare the closing transactions, review the list, then post them explicitly.