list_organization_members
Retrieve members of a Keycloak organization by realm and organization ID, with optional search, filtering, and pagination. Requires Keycloak 25+.
Instructions
List members of an organization. Requires Keycloak 25+.
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>",
"org_id": "<org_id>"
},
"name": "list_organization_members"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | Maximum results to return | |
| exact | No | Boolean which defines whether the param 'search' must match exactly or not | |
| first | No | Pagination offset | |
| realm | Yes | Realm name | |
| org_id | Yes | Organization ID | |
| search | No | A String representing either a member's username, e-mail, first name, or last name | |
| membershipType | No | The membership type | |
| briefRepresentation | No | Boolean to return either a brief or a full user representation. If not specified, the brief representation is returned by default |