Get client
get_clientRetrieve the full configuration of a Keycloak client by its clientId. Sensitive fields like client secrets are automatically redacted.
Instructions
Fetch the full representation of one client by clientId. Secret-bearing fields (client secret, registration access token) are always redacted.
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>",
"clientId": "<clientId>"
},
"name": "get_client"
}
}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. | |
| clientId | Yes | The client's clientId (the human-readable OAuth client id, not the UUID). |