Show XMemo monthly spending summary
get_monthly_ledger_summarySummarize monthly totals for income, expenses, refunds, and net balance by currency to review budgets and spending trends.
Instructions
Summarize Ledger totals by month and currency. Call this when the user asks for monthly spending, income, refunds, net balance, budget review, or spending trends.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | Optional scope that narrows memory access; leave blank for the token default. | |
| bucket | No | Memory bucket or namespace to read from or write to; use % only for tools that support wildcard reads. | % |
| months | No | Number of recent ledger months to summarize. | |
| currency | No | Currency code or label, such as CNY, RMB, JPY, yen, or USD. For ledger search/list tools, leave blank unless the user explicitly requested one currency; labels are normalized to codes. | |
| output_json | No | Return a machine-readable JSON response instead of a human-readable summary. | |
| transaction_type | No | Optional ledger type filter: expense, income, refund, or transfer. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |