Summarize transactions
summarize_transactionsGenerate spending totals, category or payee breakdowns, recurring expense summaries, account flow, and balances from Actual Budget transactions by selecting a report.
Instructions
Totals, not records: spending sums, breakdowns, recurring expenses and balance; pick one report. For individual transactions use search_transactions; for ids use list_entities; for budgeted versus spent use list_budget_months; for a custom query use run_query.
A parameter the chosen report does not take is refused by name. Amounts are integer cents; dates YYYY-MM-DD. by_category, by_payee and balance are signed (outflows negative); grouped, account_flow and recurring give outflows as positive amounts. by_category and by_payee include transfers; grouped leaves them out by default, account_flow keeps them apart.
by_category: start_date (default first day of the current month), end_date (default today), account_id, include_income.
by_payee: start_date, end_date (same defaults), account_id, limit (default 50); largest spending first, limit keeps the top, totalAmount sums them.
grouped: requires start_date, end_date, group_by; optional account_ids, category_ids, category_group_ids, payee_ids, include_income, exclude_transfers (default true).
account_flow: requires start_date, end_date, account_ids.
recurring: start_date or months, account_ids, min_occurrences, include_inactive.
balance: requires account_id; optional cutoff date.
Returns { summary: [{ categoryGroup, categoryName, totalAmount, transactionCount }], totalAmount, dateRange } for by_category (payeeName for by_payee); groups with totals for grouped and account_flow; repeating payees for recurring; { balance, accountName } for balance.
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": {
"report": "<report>"
},
"name": "summarize_transactions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum payees (default 50). | |
| cutoff | No | Balance as of this day (default now). | |
| months | No | Look back this many months, instead of start_date. | |
| report | Yes | ||
| end_date | No | Last day, inclusive. | |
| group_by | No | One grouping, or an array of up to 5. | |
| payee_ids | No | Only these payee ids. | |
| account_id | No | Account id from list_entities. | |
| start_date | No | First day, inclusive. | |
| account_ids | No | Account ids from list_entities. | |
| category_ids | No | Only these category ids. | |
| include_income | No | true also counts income (default false). | |
| min_occurrences | No | Fewest occurrences to count (default 3). | |
| include_inactive | No | true also lists stopped series (default false). | |
| exclude_transfers | No | false keeps transfers (default true). | |
| category_group_ids | No | Only these category group ids. |