manage-user-groups
Add or remove users from groups in Keycloak realms. Specify realm, user ID, group ID, and action to manage group membership.
Instructions
Add or remove users from groups
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>",
"action": "<action>"
},
"name": "manage-user-groups"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| realm | Yes | Realm name | |
| action | Yes | Action to perform | |
| userId | Yes | User ID | |
| groupId | Yes | Group ID |