list_clients
Retrieve and filter Keycloak clients in a realm using search, client ID, pagination, and viewable-only options for client administration.
Instructions
List all clients in the realm.
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": {
"realm": "<realm>"
},
"name": "list_clients"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Search by attributes, as space-separated key:value pairs | |
| max | No | Maximum number of results | |
| first | No | Pagination offset | |
| realm | Yes | Realm name | |
| search | No | whether this is a search query or a getClientById query | |
| clientId | No | Client ID filter | |
| viewableOnly | No | Whether to return only viewable clients |