search_accounts
Search and list raw account records within a project, filtering by entity, account group, name, number, or description. Use continuation tokens to page through results when a call returns more records.
Instructions
Search/list raw account records within a project. Supports filtering — see server instructions for filter syntax. Use this tool to look up a specific subset of accounts by entity or account group. DO NOT use this tool to build trial balances or financial summaries — use the pivot_trial_balance_* tools instead, which return account-level balances pre-calculated in a single response with no pagination. Results are paginated — if a continuationToken is returned, pass it in the next call to retrieve more.
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": {
"collectionId": "<collectionId>"
},
"name": "search_accounts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Account name (text filter, default: [contains]) | |
| since | No | Only return records modified after this timestamp | |
| number | No | Account number/code (text filter, default: [contains]) | |
| entityId | No | Filter by entity ID (ID filter, default: [eq]) | |
| description | No | Account description (text filter, default: [contains]) | |
| collectionId | Yes | The project ID | |
| accountGroupId | No | Filter by account group ID (ID filter, default: [eq]) | |
| continuationToken | No | Pagination token returned by a previous call. Pass this to retrieve the next page of results. | |
| includeDeprecatedItems | No | Include deprecated accounts (default: false) |