get_spending_history
Retrieves category-based spending history for a chosen number of past months, with optional filtering by category name. Use it to review past spending trends and analyze budget activity.
Instructions
Get spending history by category for the last N months
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": "get_spending_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| months | No | Number of months to look back (default: 6, max: 24) | |
| categoryName | No | Optional: filter to a specific category name |