mercury_update_transaction
Update a transaction's internal note or category (no money movement).
Instructions
Update a transaction's internal note or category (no money movement).
USE WHEN: tagging a transaction with a category for bookkeeping, or attaching an internal memo. Send null to clear a field, omit the key to keep the current value.
DO NOT USE: to change the amount, counterparty, or status — those are immutable post-execution. Mercury endpoint is PATCH /transaction/{id} (no accountId in the path).
SIDE EFFECTS: overwrites the note / category on Mercury's side. Persistent. Audit log on Mercury records the change. No effect on the booked transaction itself or on the counterparty.
RETURNS: { id, note, categoryId, ... } — the updated transaction, with attachment URLs stripped (use mercury_get_transaction_attachment for a download URL).
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": {
"transactionId": "<transactionId>"
},
"name": "mercury_update_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Internal note (send null to clear, omit to keep current) | |
| categoryId | No | Category ID (UUID, see mercury_list_categories). Send null to clear, omit to keep current. | |
| transactionId | Yes | The transaction ID |