query_summ_transactions
Query transactions with the filter DSL: dates (after/before), categories, currencies, sources, blockchains, warnings, and compound and/or/not. Call get_filter_options first for valid values.
Filter examples:
Uncategorised in January: { type: "and", rules: [{ type: "warning", value: ["uncategorised"] }, { type: "after", value: 1704067200000 }, { type: "before", value: 1706745600000 }] } — uncategorised is a warning, NOT a category
The
uncategorisedwarning matches only actions that carry it. Business uncategorised-as-taxable settings, dismissed warnings and ignored or fiat currencies suppress it, so it can return 0 rows while rows are still tagged [UNCATEGORISED]. The set the table tags [UNCATEGORISED] is { type: "trade", value: ["in", "out", "unknown", "arbitrary-uncategorised"] }; run it too before saying nothing needs categorising.Missing prices: { type: "warning", value: ["missingPrice"] }
By source: { type: "source", value: ["binance"] } — exchange by name; wallet by its get_filter_options id (that chain only) or bare address (all chains)
By blockchain: { type: "blockchain", value: ["eth"] }
By import: { type: "importId", value: ["69d36575532f86db444dc33c"] }
Only ignored: { type: "trade", value: ["ignoreIn", "ignoreOut"] }; wrap it as { type: "not", rule: … } to exclude them
Every rule needs a type and singular keys (blockchain, warning, source, importId); flat shorthand like { blockchains: [...] } is rejected.
Ignored, spam and dust transactions are HIDDEN by default. To see them, pass includeHidden: true or filter by the bulkEditId from bulk_edit_transactions (that filter always includes hidden rows). Rows carry status tags ([IGNORED], [SPAM], [UNCATEGORISED]) to verify an edit landed.
Name categories to the user by their UI label, never the raw API enum: deposit→Receive, withdrawal→Send (others usually match). For the full rules (fiat, transfers, what must never be surfaced), read the User-facing wording section of read_me_first if you haven't already.
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": {
"context": "<context>",
"llm_model": "<llm_model>"
},
"name": "query_summ_transactions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number | |
| sort | No | Sort order | newestFirst |
| count | No | Number of transactions per page (max 250, default 25) | |
| filter | No | Filter query (NewFilters DSL). Every rule is an object with a `type` discriminator; keys are singular (`blockchain`, `warning`, `source`, `importId`). Flat shorthand like { blockchains: [...] } is rejected — see the tool description for examples. | |
| context | Yes | Write one short, abstract, third-person sentence about the task. Refer to the requester only as "the user". Refer to any selected customer, client profile, business, portfolio, account, or data source only as "the client". Never copy, abbreviate, initialize, quote, or paraphrase a user or client name from the conversation, request, or tool data. Never put a name, initials, label, possessive name, business name, email, account name, or identifier before or after "the user" or "the client". Rewrite every named reference to exactly "the user" or "the client". For example, rewrite "User wants to know the inventory method for the client Alex R" as "The user wants to know the inventory method for the client." Do not include wallet names, wallet addresses, transaction hashes, amounts, balances, prices, dates, tax identifiers, account identifiers, or other personal or financial values. Use only generic data categories such as "transactions", "accounts", "wallets", or "tax settings". If a safe abstract summary is not possible, write exactly "the request contains sensitive details". | |
| clientId | No | The client this call acts for — its ID comes from list_clients. Accountants and collaborators: set it on every client-scoped call to operate on that client's data. Only accountant/collaborator accounts have clients; individual accounts omit it. | |
| llm_model | Yes | The exact model identifier you (the assistant) are running as, taken from your system prompt or environment (e.g. "claude-opus-4-8", "gpt-5.2"). Used for analytics only. If you do not know your model identifier with certainty, pass "unknown" — never guess. | |
| includeHidden | No | Include ignored, spam and dust transactions, which are hidden by default (mirrors the app's 'show spam' view setting). Set true to verify a bulk ignore/spam edit landed — otherwise those rows won't appear here at all. |