Get Chart Of Accounts
get_chart_of_accountsList account categories (chart of accounts). Use when the user asks about their chart of accounts, account codes, or available categories for categorizing transactions. On a national chart an account marked takes_postings: false is a heading with analytic accounts under it: never post, categorise or journal to it, use one of its analytic accounts (the longer codes that start with its code) or add one with create_account_category.
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": "get_chart_of_accounts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Filter by type: income, expense, asset, liability, equity, cost_of_sales | |
| company | No | Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default. |