update_expense
Update an existing expense by its ID to correct details like date, amount, category, or description in your personal expense records.
Instructions
update an existing expense by ID
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": {
"id": "<id>"
},
"name": "update_expense"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The ID of the expense | |
| date | No | The expense date in YYYY-MM-DD format | |
| amount | No | The expense amount, up to 1000000 | |
| category | No | The normalized expense category | |
| description | No | A short optional description of the expense |