add_manual_transaction
Add a manual transaction in one of four categories. Every call needs txnCategory, trade, timestamp, baseCurrencyId and baseQuantity, plus the fields listed for its category; a missing field is rejected by name.
Trade (txnCategory='trade'): OTC buy/sell. Pass trade='sell'. Also required: quoteCurrencyId, quoteQuantity, exchangeName. Optional pricePerUnit for the sold asset.
Buying crypto with fiat: there is no 'buy'; use a Trade with fiat sold (base) and crypto received (quote). Pick the search_currencies result whose assetClass is fiat. If the account ignores fiat, the crypto is acquired at cost.
Transfer (txnCategory='transfer'): movement between the user's own accounts. Pass trade='deposit'. Also required: from, to. Optional pricePerUnit; a same-asset bridge also needs fromBlockchain and toBlockchain.
Cross-chain trade (txnCategory='cross_chain_trade'): the same wallet on two chains, with different sent and received currencies. Pass trade='sell'. Also required: quoteCurrencyId, quoteQuantity, from, to, fromBlockchain, toBlockchain, pricePerUnit.
Other (txnCategory='other'): a single-sided entry, in (income, staking, airdrop) or out (lost, stolen). Set trade to that word; txnCategory stays 'other'. Also required: from, and to except for lost or stolen.
Currencies: pass the id from search_currencies. Custom currencies can't be created here: with no match, don't retry; tell the user to add it on the web app Transactions page (/transactions)
On success it returns the new Transaction _id. Find it later with query_summ_transactions { type: "id", value: ["<id>"], showAssociated: 1 } (not actionId or txId); that row has the Action ID edits use.
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": {
"txnCategory": "<txnCategory>",
"trade": "<trade>",
"timestamp": "<timestamp>",
"baseCurrencyId": "<baseCurrencyId>",
"baseQuantity": "<baseQuantity>",
"context": "<context>",
"llm_model": "<llm_model>"
},
"name": "add_manual_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Transfer/Other — destination account, e.g. 'metamask'. Omit for lost or stolen: the destination is 'unknown', as on the web form. | |
| from | No | Transfer/Other — source account, e.g. 'binance' or 'unknown' | |
| trade | Yes | Tool-argument enum only — never echo to the user. 'trade' → pass 'sell'; 'transfer' → pass 'deposit' (tell the user "Receive"); 'cross_chain_trade' → pass 'sell'; 'other' → the income-style category, e.g. 'income' / 'staking' / 'airdrop'. | |
| 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. | |
| timestamp | Yes | Transaction date/time in ISO format (e.g., 2024-06-15T12:00:00Z) | |
| feeQuantity | No | Fee amount | |
| txnCategory | Yes | Transaction category: 'trade' (OTC buy/sell), 'transfer' (movement between accounts), 'cross_chain_trade' (same wallet on two DIFFERENT chains where the sent and received currency differ), or 'other' (income, staking, gifts, etc.). | |
| baseQuantity | Yes | Amount of the base currency | |
| exchangeName | No | Trade only — account the trade happened on, e.g. 'OTC' or 'unknown' | |
| pricePerUnit | No | Per-unit price of the base asset in local currency; 0 allowed. Optional for 'trade', 'transfer' and 'other': omitted (or 0), Summ uses the market price at `timestamp`, as the web form does. Never invent a price. | |
| toBlockchain | No | Chain the `to` wallet is on (see `fromBlockchain`). | |
| feeCurrencyId | No | Fee currency, when a fee applies. Pass the `id` field from a `search_currencies` result (e.g. 'bitcoin' or 'solana:5imL…'). The server resolves the id to the full currency; an unknown id is rejected, so always search first — never invent an id. Custom or unlisted currencies can only be added via the web app UI, not this tool. | |
| quoteQuantity | No | Trade only — amount of the quote asset received | |
| baseCurrencyId | Yes | The base asset. Pass the `id` field from a `search_currencies` result (e.g. 'bitcoin' or 'solana:5imL…'). The server resolves the id to the full currency; an unknown id is rejected, so always search first — never invent an id. Custom or unlisted currencies can only be added via the web app UI, not this tool. | |
| fromBlockchain | No | Chain the `from` wallet is on. REQUIRED on both sides for a cross_chain_trade and for a same-asset cross-chain bridge (transfer); omit for an exchange or a single-chain wallet. | |
| feePricePerUnit | No | Per-unit price of the fee currency in the user's local currency, when the fee was paid in something other than the local currency (e.g. ETH gas). Omitted (or 0), Summ uses the market price. | |
| quoteCurrencyId | No | Trade only — id of the asset received in the trade. Pass the `id` field from a `search_currencies` result (e.g. 'bitcoin' or 'solana:5imL…'). The server resolves the id to the full currency; an unknown id is rejected, so always search first — never invent an id. Custom or unlisted currencies can only be added via the web app UI, not this tool. |