get-role-by-id
Retrieve role details from a Keycloak realm using the role ID. Access attributes, permissions, and metadata to simplify role management.
Instructions
Get role details by ID
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>",
"roleId": "<roleId>"
},
"name": "get-role-by-id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| realm | Yes | Realm name | |
| roleId | Yes | Role ID |