Summarize spending
get_spending_summaryGet a spending summary grouped by category, payee, or month for a date range, excluding transfers and sorting amounts descending. Optionally include income or limit to top N rows.
Instructions
Aggregated spending by category, payee or month. Transfers always excluded. Spending amounts are positive; income negative. Sorted descending.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_n | No | Return top N rows and roll the rest into "others" | |
| end_date | Yes | ||
| group_by | No | category | |
| start_date | Yes | ||
| include_income | No |