update_usergroup_members
Replace the current members of a Slack usergroup with a specified list of user IDs. Provide the usergroup ID and new member IDs to update membership, returning success status.
Instructions
Set the members of a Slack usergroup, replacing the current membership entirely.
Args: usergroup_id: The usergroup ID (S...) to update user_ids: List of user IDs (U...) that should be the members. Must contain at least one user — use clear_usergroup to remove all members.
Returns: True if the membership was updated successfully, False otherwise
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": {
"usergroup_id": "<usergroup_id>",
"user_ids": "<user_ids>"
},
"name": "update_usergroup_members"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_ids | Yes | ||
| usergroup_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |