get_organization
Retrieves details of a Keycloak organization by its ID within a realm. Use it to look up organization data such as name and attributes via the Admin REST API (requires Keycloak 25+).
Instructions
Get an organization by ID. Requires Keycloak 25+.
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": "get_organization"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| realm | Yes | Realm name | |
| org_id | Yes | Organization ID |