delete_expense
Delete a specific expense using its ID. List expenses to find the ID, then confirm with the user before removing to prevent irreversible mistakes.
Instructions
Delete one expense, by id.
Use list_expenses first to find the id, and confirm with the user which
one they mean before deleting -- ids are not guessable from a description
and deleting the wrong row cannot be undone.
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": "delete_expense"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expense_id | Yes | id of the expense to delete, from list_expenses. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||