summarize_spending
Calculate total income or expenses by category and currency over a date range, answering 'how much did I spend on X' or 'what did I earn this month'.
Instructions
Total income or expenses per category over a date range, grouped by currency: the answer to 'how much did I spend on X' or 'what did I earn this month'. Use it for every total or comparison; use list_transactions for individual entries and list_categories to see which categories exist. Behavior: currencies are never added together, so the response has one entry per currency with its own total and category breakdown, largest first. Without a wallet, every wallet is totalled, also archived ones and those excluded from Money Lover's total; pass wallet to narrow it. Transactions flagged 'exclude from report' are left out (list_transactions still shows them). With no activity in the range the currency list is empty, not zero-filled. The range is inclusive and limited to 366 days per call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Which side to total: "expense" (spending) or "income" (earnings). Defaults to "expense". | |
| wallet | No | Wallet name, exactly as returned by list_wallets. Omit to total across all wallets, including archived ones and those excluded from Money Lover's total. | |
| end_date | Yes | Last day of the range, inclusive, as YYYY-MM-DD. Must not be before start_date; the whole range may span at most 366 days. | |
| start_date | Yes | First day of the range, inclusive, as YYYY-MM-DD in the user's timezone, e.g. "2026-04-01". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | Reminder that transactions flagged "exclude from report" are not counted. | |
| type | Yes | ||
| end_date | Yes | Last day of the range, inclusive. | |
| currencies | Yes | One entry per currency; amounts in different currencies are never added together. | |
| start_date | Yes | First day of the range, inclusive. |