list_organization_group_children
Retrieve the subgroups of an organization group in Keycloak to navigate nested group hierarchies. Supports search, pagination, and optional subgroup counts; requires Keycloak 26.6+.
Instructions
Get subgroups of this organization group. Requires Keycloak 26.6+.
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>",
"group_id": "<group_id>"
},
"name": "list_organization_group_children"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | The maximum number of results that are to be returned. Defaults to 10 | |
| exact | No | Boolean which defines whether the params "search" must match exactly or not | |
| first | No | The position of the first result to be returned (pagination offset) | |
| realm | Yes | Realm name | |
| org_id | Yes | Organization ID | |
| search | No | A String representing either an exact group name or a partial name | |
| group_id | Yes | Organization group ID | |
| subGroupsCount | No | Whether to return the count of subgroups (default: false) |