Get a client's default scopes
keycloak_client_default_scopes_getRetrieve the list of default client scopes currently assigned to a client by its UUID. Use this read-only operation to inspect default scopes before making changes.
Instructions
Lists the default client scopes currently assigned to a single client. This is a read-only, idempotent operation that does not modify Keycloak. Use it to inspect a client's effective default scopes before assigning or unassigning one; for the full catalog of available scopes use keycloak_client_scopes_list instead. Returns a JSON array of the assigned scopes (each with id, name, and protocol), or the text "Client not found." when no client matches the given clientId.
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": {
"clientId": "<clientId>"
},
"name": "keycloak_client_default_scopes_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clientId | Yes | The internal Keycloak UUID of the client (the "id" field, not the human-readable clientId), for example "a1b2c3d4-5678-90ab-cdef-1234567890ab". Required. |