sw_update_expense
Update an existing Splitwise expense: provide the expense ID and any fields to change. For custom splits, include the full users array to replace the split.
Instructions
Edit an existing Splitwise expense. Provide expense_id and any fields to change. For custom split updates, the full users array must be provided (the API replaces the entire split). Asks the user to confirm first: a confirmation prompt where the client supports one; otherwise the first call returns a preview and a confirmToken, and only a repeat call with that token proceeds (see MCP_CONFIRM_MODE).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cost | No | Decimal string, e.g. "25.00" | |
| date | No | ||
| users | No | Full replacement split — all users must be included. Mutually exclusive with split_equally. | |
| details | No | ||
| expense_id | Yes | ID of the expense to update | |
| category_id | No | ||
| description | No | ||
| confirmToken | No | ONLY for the two-step confirmation fallback (a client without MCP elicitation). The confirmToken from this same tool's phase-1 "confirmation-required" response, passed back ONLY after the user has seen that preview and explicitly approved it in chat — never on the first call, never invented, never reused. Call again with the same arguments. Ignored when the client supports elicitation. | |
| currency_code | No | ||
| split_equally | No | Mutually exclusive with users |