Update a transaction
update_transactionModify a transaction’s category, payee, notes, date, amount, or cleared status; only supplied fields change, and null clears category, payee, or note.
Instructions
Change a transaction’s category, payee, notes, cleared flag, date, or amount. Only the fields you pass are touched; pass null to clear a category, payee, or note. Amounts are integer cents. Returns the transaction as stored afterwards — rules may rewrite a value on write, so trust the response over the request. The main tool for recategorizing during cleanup.
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": {
"id": "<id>"
},
"name": "update_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Id of the transaction to change. | |
| date | No | New date. | |
| notes | No | New note text, or null to clear it. | |
| amount | No | New amount in cents; negative is an outflow. | |
| cleared | No | Mark cleared or uncleared. | |
| payeeId | No | New payee id, or null to clear it. | |
| categoryId | No | New category id, or null to clear it. |