List client roles
keycloak_client_roles_listRetrieve client-level roles for a Keycloak client using its internal ID. Returns a JSON array of role objects with id, name, and description to identify roles for assignment.
Instructions
Read-only: lists the client-level roles defined on a single Keycloak client (not realm roles). Use this to discover available client role names before assigning one with keycloak_user_client_role_assign; for realm-wide roles use keycloak_role_list instead. Returns a JSON array of roles (each with id, name, and description), or the message 'Client not found.' when no client matches the given ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clientId | Yes | The Keycloak client's internal ID (the client's UUID, e.g. 'a1b2c3d4-...'), not the human-readable clientId/client name. Identifies the client whose roles are listed. |