manage_group_members
Add or remove a Splitwise group member by group ID or name, identifying users by ID or email. Removals require confirmation to prevent accidental deletion.
Instructions
Add or remove a member of a Splitwise group.
Identify the group with group_id or group_name, and the member
with user_id, or email (optionally with first_name/last_name
for a new invite when adding, or to disambiguate when removing).
Adding executes immediately. Removing is destructive and, without
confirm=true, previews who will be removed and asks for
confirmation first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | |||
| action | Yes | ||
| confirm | No | ||
| user_id | No | ||
| group_id | No | ||
| last_name | No | ||
| first_name | No | ||
| group_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | No | The user added or removed. None when Splitwise accepted an email invite without returning a user record yet. | |
| action | Yes | Which membership change was performed. | |
| detail | No | Extra context, e.g. that an invite email was sent. | |
| group_id | Yes | Id of the group the membership change applies to. |