get_spending_by_category
Get spending grouped by user-assigned transaction category over a window. Transactions without a category land in an 'UNCATEGORIZED' bucket. Amounts are in currency units (26.5 means 26.50), like get_transactions.
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": {
"currency": "<currency>"
},
"name": "get_spending_by_category"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ISO 8601 UTC end of an absolute window | |
| from | No | ISO 8601 UTC start of an absolute window | |
| period | No | Rolling time window. Mutually exclusive with from/to. | |
| currency | Yes |