Get category analytics
get_category_analyticsGet spending/income totals grouped by category over a date range, across all groups or one group.
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": {
"currencies": "<currencies>",
"types": "<types>",
"startDate": "<startDate>",
"endDate": "<endDate>"
},
"name": "get_category_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| types | Yes | Transaction types to include, usually ["expense"] | |
| endDate | Yes | YYYY-MM-DD, inclusive | |
| groupId | No | Restrict to one group; omit for all groups | |
| parentId | No | Drill into the children of this category | |
| breakdown | No | Aggregate by top-level categories (parent, default) or leaf categories | |
| startDate | Yes | YYYY-MM-DD, inclusive | |
| currencies | Yes | Currencies to include, e.g. ["USD"] |