count_organization_members
Returns the number of members in a Keycloak organization using the realm name and organization ID; requires Keycloak 26.0 or later.
Instructions
Returns number of members in the organization. Requires Keycloak 26.0+.
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": "count_organization_members"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| realm | Yes | Realm name | |
| org_id | Yes | Organization ID |