get_realm_role
Retrieve a specific realm role by name from Keycloak identity and access management. Specify the role name and optionally the target realm to obtain the role object.
Instructions
Get a specific realm role by name.
Args:
role_name: Role name
realm: Target realm (uses default if not specified)
Returns:
Role object
Input Schema
Name | Required | Description | Default |
---|---|---|---|
realm | No | ||
role_name | Yes |
Input Schema (JSON Schema)
{
"properties": {
"realm": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Realm"
},
"role_name": {
"title": "Role Name",
"type": "string"
}
},
"required": [
"role_name"
],
"title": "get_realm_roleArguments",
"type": "object"
}