list_clients
Retrieve a list of Keycloak clients from a realm, with optional filtering by client ID and pagination controls.
Instructions
List clients in the realm.
Args:
client_id: Filter by client ID (partial match)
viewable_only: Only return viewable clients
first: Pagination offset
max: Maximum results size
realm: Target realm (uses default if not specified)
Returns:
List of client objects
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_clients"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| client_id | No | ||
| viewable_only | No | ||
| first | No | ||
| max | No | ||
| realm | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |