delete_transaction
Permanently remove a specific transaction record by its numeric ID to correct or clean up logged spending data.
Instructions
Permanently removes a specific transaction record from the database.
Args:
transaction_id (int): The unique numeric ID of the transaction (found via 'get_recent_transactions').
Returns:
str: Success or error message.
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": "delete_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| transaction_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |