List realm roles
list_realm_rolesRetrieve realm-level roles from a Keycloak realm, with secret-shaped attribute values redacted for safe role inspection.
Instructions
List the realm-level roles defined in a realm. Secret-shaped attribute values are replaced with [REDACTED].
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 |