list_realm_roles
Retrieve all roles for a Keycloak realm. Supports search filtering, pagination, and brief representation.
Instructions
List all roles for the 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 | |
| search | No | Search string for role name | |
| first | No | Pagination offset | |
| max | No | Maximum results size | |
| briefRepresentation | No | If true, return brief representation |