Update Transaction
update_transactionModify transaction amounts, descriptions, dates, accounts, categories, and tags to correct imported data or complete missing information.
Instructions
Modify transaction details such as amounts, descriptions, dates, accounts, etc.
Useful for correcting imported data or updating incomplete information.
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": {
"req": "<req>"
},
"name": "update_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| req | Yes | Update an existing transaction. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Transaction ID | |
| date | No | Date and time of the transaction | |
| tags | No | Cross-cutting labels grouping transactions across budgets/categories/time (e.g. a trip name, a project, a tax year). Multiple allowed. | |
| type | Yes | Type of the transaction | |
| amount | Yes | Amount of the transaction | |
| budget_id | No | ID of the budget for this transaction | |
| source_id | No | ID of the source account. For withdrawal/transfer, must be asset account. For deposits, must be revenue account. | |
| budget_name | No | Name of the budget for this transaction | |
| category_id | No | ID of the category for this transaction | |
| description | Yes | Description of the transaction | |
| source_name | No | Source account name | |
| category_name | No | Finer-grained classification of the transaction (e.g. "vegetables", "personal hygiene"). One per transaction; complements the budget. | |
| currency_code | No | Currency code | |
| destination_id | No | ID of the destination account. For deposit/transfer, must be asset account. For withdrawals, must be expense account. | |
| destination_name | No | Destination account name |