update_expense
Update an existing expense by modifying only the fields you specify—amount, category, date, note, or subcategory. Provide the expense ID to target the record and keep other details unchanged.
Instructions
Update only the provided fields of 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": {
"id": "<id>"
},
"name": "update_expense"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| date | No | ||
| note | No | ||
| amount | No | ||
| category | No | ||
| subcategory | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||