delete_expense
Permanently delete a specific Splitwise expense by its ID, with an optional confirmation step to prevent accidental removal.
Instructions
Permanently delete an expense.
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 |
|---|---|---|---|
| confirm | No | Skip the confirmation step and delete immediately. | |
| expense_id | Yes | Id of the expense to delete. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cost | Yes | Cost the expense had at the time of deletion. | |
| expense_id | Yes | Id of the expense the deletion applies to. | |
| description | Yes | Description the expense had at the time of deletion. | |
| currency_code | Yes | Currency code the expense's cost was denominated in. | |
| already_deleted | Yes | True if the expense was already deleted before this call, so no write occurred. |