update_expense
Update existing expense records by modifying only the fields you specify. Pass empty strings to clear text fields while preserving other data.
Instructions
Edit an expense. Omitted fields are left alone; pass "" to clear a text field.
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 | ||
| tags | No | ||
| amount | No | ||
| category | No | ||
| merchant | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||