spending_by_category
Aggregate spending by category or parent category for a date range, excluding transfers and report-excluded transactions; keeps an Uncategorized bucket and defaults to checking/credit-card accounts.
Instructions
Aggregate consumer spending (negative splits) by category for an inclusive date range. Excludes transfers and report-excluded transactions, preserves an (Uncategorized) bucket, and defaults to checking + credit-card accounts.
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": {
"start_date": "<start_date>",
"end_date": "<end_date>"
},
"name": "spending_by_category"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | Yes | End date (ISO 8601) | |
| group_by | No | ||
| start_date | Yes | Start date (ISO 8601) | |
| account_names | No | ||
| account_types | No |