List accounts
banana_accountsRetrieve the chart of accounts from a Banana Accounting document as a JSON array of account IDs and descriptions.
Instructions
Return the list of accounts as a JSON array of {id, descr} objects (e.g. [{"id":"1000","descr":"1000 Cash"}]).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "banana_accounts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | No | Accounting document name as opened in Banana (e.g. "accounting.ac2"). Append "_p1", "_p2" for previous years. Defaults to BANANA_DEFAULT_DOC if set. |