List clients
list_clientsRetrieve a list of clients in a specified Keycloak realm, showing clientId, internal UUID, and name for each client.
Instructions
List the clients of a realm on a Keycloak host. Returns clientId, internal UUID (id), and name for each client.
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": {
"host": "<host>",
"realm": "<realm>"
},
"name": "list_clients"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | Target Keycloak host key, as configured in the config file's "hosts" map (or the KC_<HOST>_* env fallback). A host whose "production" flag is true, or absent, is treated as PRODUCTION and its writes are gated by "allowProdWrite". | |
| realm | Yes | Target realm name for the operation. |