get_spending_summary
Summarize expense transactions by category or source for this month, last month, or a custom date range.
Instructions
Summarize expense transactions (amount < 0) over a period, grouped by category or source.
period: 'this_month', 'last_month', or 'custom' (requires start_date and end_date). group_by: 'category' or 'source'. start_date/end_date: ISO 8601 'YYYY-MM-DD', inclusive, only used when period='custom'.
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": {
"period": "<period>",
"group_by": "<group_by>"
},
"name": "get_spending_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | Yes | ||
| end_date | No | ||
| group_by | Yes | ||
| start_date | No |