get_user_role_mappings
Retrieve all role mappings assigned to a specific user in a Keycloak realm using the user ID and realm name.
Instructions
Get all 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_user_role_mappings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| realm | Yes | Realm name | |
| user_id | Yes | User ID |