Remove Transaction
remove_transactionRemove a transaction by confirming permanent deletion or archiving it to hide from views and reports. Handles transfer legs together to keep balances correct.
Instructions
Remove a transaction by archiving (hides from views and reports, recoverable) or permanently deleting (reverses the balance effect). On first call, returns a conflict with confirm / archive / cancel. If the transaction is one leg of a transfer, confirming the deletion removes both legs together to keep the books balanced.
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": {
"transaction_id": "<transaction_id>"
},
"name": "remove_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Deprecated: use `resolution`. 'archive' / 'delete' / 'cancel'. | |
| force_mode | No | Deprecated: confirming a transfer-leg deletion now deletes both legs automatically. 'delete_both' is still accepted. | |
| resolution | No | Resolution after the removal conflict: 'confirm' deletes (recoverable for 30 days), 'archive' hides it (recoverable), 'cancel' aborts. | |
| transaction_id | Yes | UUID of the transaction to remove. |