category_breakdown
Calculate spend per category for an inclusive date range, ranked largest first, with each category's share of total spending.
Instructions
Spend per category for a date range (inclusive), largest first, with each category's share.
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": "category_breakdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | Yes | YYYY-MM-DD | |
| start_date | Yes | YYYY-MM-DD |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | finance.expenses | |
| currency | No | USD | |
| end_date | Yes | ||
| categories | Yes | ||
| start_date | Yes | ||
| total_amount | Yes | ||
| metric_version | No | finance-metrics/1 |