keycloak_get_client_service_account_user
Retrieve the service-account user behind a Keycloak client to inspect its assigned admin roles and determine the client's effective permissions.
Instructions
Get the service-account user backing a client. That user is where the client's admin roles are assigned, so this is the way to check what a client can actually do.
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": {
"clientUuid": "<clientUuid>"
},
"name": "keycloak_get_client_service_account_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| realm | No | Realm to operate on. Defaults to the server's configured realm (KEYCLOAK_REALM). | |
| clientUuid | Yes | Client UUID — the `id` field, NOT the human-facing clientId string. Every /clients/{id} path takes the UUID. Get it from keycloak_list_clients. |