Add a user to a group
group_add_memberAdd a user to a user group by UUID or email. Returns the membership row ID with error handling for duplicate or archived group.
Instructions
Add a user to a user group, by user UUID OR email. Provide exactly ONE of user_id / email — the server resolves email to user_id and 4xxs if no user has that email. Returns the membership row id. Idempotency: re-adding the same user returns 409 ALREADY_MEMBER. Adding to an archived group returns 409 GROUP_ARCHIVED.
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": {
"id": "<id>"
},
"name": "group_add_member"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Group UUID. | |
| user_id | No | ||
| No |