splitwise_undelete_group
Restore a deleted Splitwise group and its expenses by group id. Use it to reverse an accidental group deletion when writes are enabled.
Instructions
Restore a deleted group (and its expenses). 🔒 write.
Calls POST /undelete_group/{id}. Splitwise answers HTTP 200 even when this fails and
puts the outcome in success / errors; the client turns a failure into an error,
and this tool reports the group as restored only when the body says success: true.
Refused with Error: … writes are disabled unless SPLITWISE_ALLOW_WRITES=1. Undo:
splitwise_delete_group.
When to Use:
To bring back a group deleted by mistake (
splitwise_delete_group).
When NOT to Use:
To restore one expense (use
splitwise_undelete_expense).To re-add a removed member (use
splitwise_add_user_to_group).With a group NAME — resolve it to an id first (use
splitwise_resolve_group).
Returns:
A confirmation with the success / errors values Splitwise returned — or, when the
body does not say success: true, a note to verify before reporting it as restored.
Examples:
params = {"group_id": 12345}
Error Handling:
success: false / non-empty errors come back as Error: Splitwise rejected the request ....
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |