add_group_users
Adds up to 1,000 users to an existing group using their user IDs; the operation is all-or-nothing and fails if any ID is invalid.
Instructions
Add 1–1000 users to a group. Provide an array of user IDs. Requires the group to exist (use list_groups or create_group first). All-or-nothing: if any user ID is invalid, the entire operation fails.
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>"
},
"name": "add_group_users"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ID of the group. | |
| group_id | Yes | A unique identifier for a group. | |
| user_ids | No | IDs of the users to be added to the group. |