query_transactions
Find and filter transactions by date, account, category, merchant, or amount; totals reflect all matches even when results are paginated.
Instructions
Find transactions by date, account, category, merchant and amount.
Totals in the result cover every matching row even when the page is truncated.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "query_transactions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | amount_desc lists the biggest outflows first. | date_desc |
| limit | No | Rows to return. | |
| month | No | Calendar month, YYYY-MM. | |
| account | No | Exact account name from list_accounts; omit for all accounts. | |
| date_to | No | Inclusive end, YYYY-MM-DD. | |
| category | No | Category filter. One of: groceries, restaurants, transport, fuel, utilities, telecom, subscriptions, health, shopping, electronics, entertainment, travel, education, rent, cash_withdrawal, transfers, fees, salary, other_income, uncategorized. | |
| merchant | No | Case-insensitive substring of merchant/description. | |
| date_from | No | Inclusive start, YYYY-MM-DD. | |
| direction | No | Money out, in, or both. | any |
| max_amount | No | Maximum absolute amount, account currency. | |
| min_amount | No | Minimum absolute amount, account currency. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| returned | Yes | ||
| truncated | Yes | ||
| transactions | Yes | ||
| total_matching | Yes | ||
| totals_by_currency | Yes | Totals over ALL matching rows (not only the returned page), per account currency. |