List a user's groups
keycloak_user_groups_listList all groups a user belongs to in Keycloak by providing the user's UUID. Returns group id, name, and path.
Instructions
Read-only and idempotent. Lists the groups the given user belongs to. Resolve the user ID first with a user listing tool. Returns a JSON array of group objects, each with id, name, and path.
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": {
"userId": "<userId>"
},
"name": "keycloak_user_groups_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | Yes | ID of the user whose group memberships to list (the user's UUID). |