search_account_groups
Search and list raw account group records in a project, filtered by name, number, type, or modified date. Use pagination tokens to retrieve additional results.
Instructions
Search/list raw account group records within a project. Supports filtering — see server instructions for filter syntax. Use this tool to look up a specific subset of account groups by type. DO NOT use this tool to build financial summaries by account group — use the pivot_trial_balance_by_account_group or pivot_trial_balance_by_fs_group tools instead, which return pre-aggregated totals 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_account_groups"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Account group name (text filter, default: [contains]) | |
| since | No | Only return records modified after this timestamp | |
| number | No | Account group number/code (text filter, default: [contains]) | |
| description | No | Account group description (text filter, default: [contains]) | |
| collectionId | Yes | The project ID | |
| continuationToken | No | Pagination token returned by a previous call. Pass this to retrieve the next page of results. | |
| accountGroupTypeCode | No | Account group type code — a (asset), l (liability), q (equity), r (revenue), x (expense) (ID filter, default: [eq]) | |
| includeDeprecatedItems | No | Include deprecated account groups (default: false) |