Edit Expense
edit_expenseUpdate an existing expense record with new amount, date, category, subcategory, or note. Fix mistakes or adjust spending details by providing the expense ID and the fields to change.
Instructions
Edit an existing expense.
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": {
"expense_id": "<expense_id>"
},
"name": "edit_expense"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | New date | |
| note | No | New note | |
| amount | No | New amount | |
| category | No | New category | |
| expense_id | Yes | ID of expense to edit | |
| subcategory | No | New subcategory |