Update expense
update_expenseUpdate an existing expense. Use list_expenses to find the expense ID first. Pass only the fields that need 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": {
"id": "<id>"
},
"name": "update_expense"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Expense ID to update (from list_expenses) | |
| date | No | New expense date (ISO string) | |
| notes | No | New notes (null to clear) | |
| title | No | New expense title | |
| amount | No | New amount | |
| vendor | No | New vendor name (null to clear) | |
| category | No | New expense category | |
| currency | No | New currency code | |
| invoiceId | No | New invoice ID (null to unlink) | |
| customerId | No | New customer ID (null to unlink) | |
| paymentMethod | No | New payment method (null to clear) |