expense_summary
Analyze expenses by period or category and generate a visual chart summary with optional date filters.
Instructions
Generate an analytical expense summary with a rich Matplotlib chart. At least one grouping dimension ('period' or 'group_by') is recommended.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "expense_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | Time aggregation: 'weekly', 'monthly', 'quarterly', 'yearly'. | |
| category | No | Optional filter by category. | |
| end_date | No | Optional filter to include expenses on or before this ISO date (YYYY-MM-DD). | |
| group_by | No | Column to group by: 'category', 'subcategory'. | |
| start_date | No | Optional filter to include expenses on or after this ISO date (YYYY-MM-DD). | |
| subcategory | No | Optional filter by subcategory. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||