Search transactions
search_transactionsSearch transaction records by account, filter, amount, category, month, payee, or uncategorized status, returning matching rows with counts and pagination details.
Instructions
Find transaction records, not totals; pick one by. Totals: summarize_transactions. Ids: list_entities. Custom query: run_query.
A field the by lacks is refused by name. Amounts: integer cents, outflows negative; dates YYYY-MM-DD.
account: account_id, start_date, end_date.
filter: account_id, start_date, end_date, min_amount, max_amount, category_id, payee_id, notes, cleared, reconciled.
amount: min_amount and max_amount, or absolute_amount, plus start_date, end_date, account_id, category_name, limit.
category: category_name, start_date, end_date, account_id, min_amount, max_amount, limit.
month: month, account_id, category_name, payee_name, min_amount, max_amount, limit.
payee: payee_name, start_date, end_date, account_id, category_name, min_amount, max_amount, limit.
uncategorized: start_date, end_date, account_id, include_transactions, limit, offset.
Behavior: category and payee need their name. filter, category, month refuse an off-budget account_id. account and filter have no limit.
Limits: amount, category, month, payee return limit rows (default 100; hasMore: more exist; count and totalAmount cover returned rows). uncategorized pages by limit (default 50), offset. amount needs account_id or a date. An unknown category or payee gives an error field. Category or notes filters match a split by child (parent_id).
Returns { result: [transaction] } for account, filter; { transactions, count, totalAmount, hasMore } for amount, category, month, payee; { totalCount, totalAmount, byAccount, dateRange } for uncategorized, plus transactions and hasMore with include_transactions.
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": {
"by": "<by>"
},
"name": "search_transactions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | Yes | ||
| limit | No | Maximum rows, up to 1000 (default 100; uncategorized 50). | |
| month | No | Month, YYYY-MM (default current). | |
| notes | No | Notes substring, case-insensitive; "#trip" also finds "#tripod". | |
| offset | No | First row of the page (default 0). | |
| cleared | No | Match this cleared flag. | |
| end_date | No | Last day, inclusive (uncategorized: default today). | |
| payee_id | No | Payee id from list_entities. | |
| account_id | No | Account id from list_entities. Omit for all accounts. | |
| max_amount | No | Largest amount in cents. | |
| min_amount | No | Smallest amount in cents. | |
| payee_name | No | Payee name, case-insensitive. | |
| reconciled | No | Match this reconciled flag. | |
| start_date | No | First day, inclusive. | |
| category_id | No | Category id from list_entities. | |
| category_name | No | Category name, case-insensitive. | |
| absolute_amount | No | Amount in cents, either sign; overrides min_amount and max_amount. | |
| include_transactions | No | true also returns the rows (default false: counts only). |