list_user_organizations_by_member
Retrieve the organizations a specified user belongs to by providing their member ID and realm; 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>",
"member_id": "<member_id>"
},
"name": "list_user_organizations_by_member"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| realm | Yes | Realm name | |
| member_id | Yes | Member (user) ID | |
| briefRepresentation | No | if false, return the full representation. Otherwise, only the basic fields are returned |