List / search users
list_usersRetrieve users in a Keycloak realm using free-text search and pagination, with secret-shaped attribute values and credentials redacted.
Instructions
List users in a realm. Supports free-text search and pagination. Secret-shaped attribute values and credentials are replaced with [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": {
"realm": "<realm>"
},
"name": "list_users"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | Max results (default 50) | |
| first | No | Pagination offset | |
| realm | Yes | Realm name | |
| search | No | Free-text search across username, email, first and last name |