Edit transaction
editTransactionUpdate an existing transaction's details, including amount, category, payment mode, and type, to keep financial records accurate.
Instructions
Edit an existing transaction.
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": {
"amount": "<amount>",
"category": "<category>",
"paymentMode": "<paymentMode>",
"type": "<type>"
},
"name": "editTransaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Type of the transaction | |
| amount | Yes | Amount of the transaction | |
| category | Yes | Category of the transaction. Try to be as specific as possible since this helps in better analysis of spending patterns. | |
| description | No | Description of the transaction | |
| paymentMode | Yes | Payment mode | |
| transactionId | No | Id of the existing transaction. If creating a new transaction, this should be null or undefined. | |
| isNewCustomCategory | No | Is this a new custom category? |