get_all_accounts
Get all accounts with their labels and categories for this tenant. Filter by the 'category' field, NOT account numbers. Use the system prompt's tenant-specific category lists to identify revenue vs. cost accounts. Ignore: 'Bank', 'Cash', 'VAT'. Optional filters: exact category, account number range (account_from/account_to), and is_pnl (P&L vs. balance sheet accounts). Omit 'limit' to get every matching account (paginated internally, no row cap); pass it only to cap the number of rows returned — the response then reports whether the result was truncated.
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_all_accounts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Optional cap on the number of accounts returned (must be a positive integer). Omit to get the full, unpaginated-by-you list of every matching account. When set, the query itself is bounded (no full-table load) and the response's 'truncated' field tells you whether more accounts existed beyond the cap. | |
| is_pnl | No | Filter by P&L accounts (true) or balance sheet accounts (false) | |
| category | No | Filter by exact category name (e.g. 'Umsatzerlöse', 'Bank') | |
| account_to | No | Maximum account number (inclusive) | |
| account_from | No | Minimum account number (inclusive) |