Chart of accounts
list_accountsThe company's BOOKABLE accounts (its chart of accounts without group headers and archived accounts), sorted by number: id, number, name, account_types_id (1 cash and bank, 2 other assets, 3 liabilities, 4 expenses, 5 revenue, 6 equity, 8 year-end result), currencies_id (set on a foreign-currency account) and default_vat_codes_id. Read it before naming an account in a booking or a rule — numbers and names are the company's own, never assume one exists. Static per company; call it once per conversation.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"company_id": "<company_id>"
},
"name": "list_accounts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| company_id | Yes | The company to work on — one of list_my_companies' company_id values. |