list_member_organizations
Retrieves the organizations linked to a specified user in a Keycloak realm, enabling membership checks and organization-aware user administration. Requires Keycloak 26.0+.
Instructions
Returns the organizations associated with the user that has the specified id. 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>",
"member_id": "<member_id>"
},
"name": "list_member_organizations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| realm | Yes | Realm name | |
| org_id | Yes | Organization ID | |
| member_id | Yes | Member (user) ID | |
| briefRepresentation | No | if false, return the full representation. Otherwise, only the basic fields are returned |