Search transactions
search_transactionsSearch transactions by keyword, phrase or meaning (e.g. "coffee", "Netflix", "grocery shopping"). Use when the user asks about specific merchants, items, or describes a transaction. Returns every transaction whose text contains the phrase (case-insensitive) first, newest first, then up to 50 related by meaning (e.g. "caffeine" finds coffee), most related first; each row has matchedBy: "keyword" or "meaning", and keywordMatchCount / meaningMatchCount count each kind. Rows found by meaning can be loosely related, so check them before counting them in a total. If neither finds anything it tries the words of the phrase on their own. matchType says what matched (semantic when any row was found by meaning, keyword, keyword_any_word or none); with none, follow the suggestions instead of repeating the same search. Each row has source: "personal", or "circle" with circleName for a circle expense the user paid in full; circle rows are not personal spending, so never add them to spending totals. Returns at most 10 per call with totalCount and hasMore. If hasMore is true, call again with offset set to nextOffset for the next page. Keep the same query and filters when paging.
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": {
"query": "<query>"
},
"name": "search_transactions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Filter by transaction type | |
| limit | No | Max transactions to return, up to 10 (default: 10) | |
| query | Yes | Natural language search query, e.g. "coffee shops" or "Amazon purchases" | |
| offset | No | Number of rows to skip, for paging (default: 0). Use nextOffset from the previous response. | |
| endDate | No | End date in YYYY-MM-DD format (default: no limit) | |
| startDate | No | Start date in YYYY-MM-DD format (default: no limit) |