List realm roles
list_realm_rolesRetrieve all realm-level roles defined in a Keycloak realm to inspect permissions and manage access. Provide a realm name to get the roles assigned at the realm level.
Instructions
List the realm-level roles defined in a realm.
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>"
},
"name": "list_realm_roles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| realm | Yes | Realm name |