update_expense
Modify an existing Splitwise expense by updating only the fields you specify. Adjust cost, description, date, or custom shares while preserving other details.
Instructions
Update an existing expense. Only provided fields are changed.
Note: if you pass users (custom shares), it overwrites ALL existing
shares on the expense — include every participant. See create_expense for
the users format and split rules.
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 |
|---|---|---|---|
| cost | No | ||
| date | No | ||
| users | No | ||
| details | No | ||
| group_id | No | ||
| expense_id | Yes | ||
| category_id | No | ||
| description | No | ||
| currency_code | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||