list_organization_identity_provider_groups
Retrieve organization groups for a specified identity provider in Keycloak, with search, pagination, and representation options to manage group access. Requires Keycloak 26.6+.
Instructions
Returns organization groups for the identity provider. 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>",
"alias": "<alias>"
},
"name": "list_organization_identity_provider_groups"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | A query to search for group attributes, in the format 'key1:value1 key2:value2' | |
| max | No | The maximum number of results to return | |
| alias | Yes | Identity provider alias | |
| exact | No | If true, perform exact match on the search parameter | |
| first | No | The position of the first result (pagination offset) | |
| realm | Yes | Realm name | |
| org_id | Yes | Organization ID | |
| search | No | A string to search for in group names | |
| subGroupsCount | No | If true, include subgroups count in the response | |
| briefRepresentation | No | If true, return brief representation; otherwise return full representation |