List groups
banana_groupsRetrieve accounting groups from a Banana Accounting document, returning a JSON array of group IDs and descriptions. Useful for listing account categories and organizing chart of accounts.
Instructions
Return the list of accounting groups as a JSON array of {id, descr} objects (e.g. [{"id":"100","descr":"100 Current Assets"}]).
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_groups"
}
}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. |