add-user-to-group
Assign a user to a specific group in Keycloak by specifying the realm, user ID, and group ID. Streamlines group management for organized user access and permissions.
Instructions
Add a user to a group
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": {
"realm": "<realm>",
"userId": "<userId>",
"groupId": "<groupId>"
},
"name": "add-user-to-group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| groupId | Yes | ||
| realm | Yes | ||
| userId | Yes |