List realm roles
keycloak_role_listLists all realm-level roles in a Keycloak realm without parameters. Use to discover role names before assigning them.
Instructions
Read-only: lists all realm-level roles defined in the Keycloak realm (not client roles). Takes no parameters. Use this to discover available realm role names before assigning one with keycloak_user_role_assign; for roles scoped to a specific client, use keycloak_client_roles_list instead. Returns a JSON array of roles, each with id, name, and description.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "keycloak_role_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||