manage_memberships
Invite users to a group by email, and optionally remove members not in the list. Use with caution: removal deletes all absent members, including yourself. Admin required.
Instructions
Invite users to a group by email and optionally REMOVE members not in the list: 1 call; the connector's user must be an admin of THAT group. Default is additive: new addresses are invited, nobody is touched. DANGEROUS: remove_absent: true removes every member whose email is absent, own user included, with no undo: list_memberships first, then confirm the diff with a human.
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": {
"group_id": "<group_id>",
"emails": "<emails>"
},
"name": "manage_memberships"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| emails | Yes | Addresses to ensure are members; new ones are invited. | |
| group_id | Yes | Group id; the connector's user must be its admin. | |
| remove_absent | No | DANGEROUS: also revokes every member absent from `emails`, own user included. Default false. |