expense_breakdown
Break down expenses by category, subcategory, or time unit within a date range. Filter by category or subcategory to spot spending patterns.
Instructions
Summarize and breakdown expenses by columns or time units within a date range.
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": "expense_breakdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | No | Optional filter by category name. | |
| end_date | Yes | End date in YYYY-MM-DD format (inclusive). | |
| group_by | No | Dimension to group by: 'category', 'subcategory', 'note', or 'date'. Defaults to 'category'. | category |
| breakdown | No | Date grouping unit: 'day', 'month', or 'year'. Defaults to 'day' if group_by is 'date'. | |
| start_date | Yes | Start date in YYYY-MM-DD format (inclusive). | |
| subcategory | No | Optional filter by subcategory name. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |