get_effective_user_realm_role_mappings
Retrieves a user's effective composite realm-level role mappings, including inherited roles, to audit or troubleshoot Keycloak permissions.
Instructions
Get effective (composite) realm-level role mappings for a user.
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>",
"user_id": "<user_id>"
},
"name": "get_effective_user_realm_role_mappings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| realm | Yes | Realm name | |
| user_id | Yes | User ID | |
| briefRepresentation | No | if false, return roles with their attributes |