edit_expense
Modify an existing expense by ID, updating only the fields you specify such as amount, date, category, or note.
Instructions
Edit an existing expense by ID. Only pass the fields you want 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": "edit_expense"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | New date YYYY-MM-DD (optional) | |
| note | No | New note (optional) | |
| title | No | New title (optional) | |
| amount | No | New amount (optional) | |
| category | No | New category (optional) | |
| expense_id | Yes | ID of the expense to update |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||