search_transactions
Search GnuCash transactions by description, memo, notes, or amount with exact, greater, less, or range queries. Get paginated compact text or structured JSON results.
Instructions
Search transactions by description, memo, notes, or amount.
Compact format (default):
DATE<TAB>guid<TAB>Description<TAB>splits
Transactions with more than 4 splits collapse to the top 3 by
|value| plus +N more — call get_transaction for the
full breakdown. Leads with a Showing X-Y of Z transactions
line; page with offset, or pass limit=0 for the count.
Args: query: Search query string. For amount, supports: exact ("100"), greater (">100"), less ("<100"), range ("100-200") field: Field to search: 'description', 'memo', 'notes', or 'amount' limit: Page size (default 50, max 250). 0 = count only. offset: 0-indexed first row to return (default 0). verbose: If false (default), compact text output — optimized for reading and token efficiency. If true, structured JSON, for when you need machine-readable fields rather than a report.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field | No | description | |
| limit | No | ||
| query | Yes | ||
| offset | No | ||
| verbose | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |