update_expense
Update an existing expense's details by providing its ID and optionally setting new amount, category, date, description, or subcategory.
Instructions
Update an existing expense's details.
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 | ||
| amount | No | ||
| category | No | ||
| expense_id | Yes | ||
| description | No | ||
| subcategory | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||