spending_summary
Summarize spending with totals, averages, and breakdowns. Group results by vendor, month, week, or day for any date range.
Instructions
Get spending summary. Get spending summary with flexible grouping by vendor, month, week, or day. Returns totals, averages, and breakdowns for the specified period.
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": {
"groupBy": "<groupBy>",
"limit": "<limit>"
},
"name": "spending_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dateFrom | No | Start date (YYYY-MM-DD) | |
| dateTo | No | End date (YYYY-MM-DD) | |
| groupBy | Yes | Group results by | total |
| vendorId | No | Filter by vendor ID | |
| limit | Yes | Max results for grouped queries |