update_expense
Modify an existing expense by providing its expense ID and only the fields that need changing, such as amount, category, date, note, tags, or payment method.
Instructions
Update an existing expense. Only provide fields to change.
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": "update_expense"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ||
| note | No | ||
| tags | No | ||
| amount | No | ||
| category | No | ||
| expense_id | Yes | ||
| subcategory | No | ||
| payment_method | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |