Expenses, merchants, and vendors
get_spending_breakdownUse this when the person asks where their money goes, their largest personal or business expenses, operating costs paid through connected accounts, merchant spending, or top vendors and suppliers. Groups posted spending by category or counterparty in one currency, largest first, excluding internal transfers. Scope to the selected accounts; does not determine tax deductibility or accounting categories. limit caps the groups listed, while totalGroups counts them all. To list the transactions behind a group, call search_transactions with its category key or merchant text; for totals over time, get_period_totals.
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>"
},
"name": "get_spending_breakdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Inclusive end, ISO date or timestamp, e.g. 2026-09-30. Calendar dates include the entire day. | |
| from | No | Inclusive start, ISO date or timestamp, e.g. 2026-09-01. Omit both dates to use the saved default period. | |
| limit | No | Maximum groups to show; default 15. | |
| groupBy | Yes | category for groceries, rent, etc.; counterparty for merchants or payees. | |
| currency | No | ISO currency, e.g. USD or CAD. Monetary summaries use one currency and never convert or combine currencies. | |
| accountId | No | Personal or business account id from list_accounts or a mention. Omit for all connected accounts; resolve the user's selected accounts first for business-only or personal-only reviews. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | ||
| setup | No | Present when bank data is missing, syncing, failing, or out of date. Lead the answer with it. | |
| period | Yes | ||
| groupBy | Yes | ||
| totalGroups | Yes |