skycloak_get_realm
Retrieve a Keycloak realm by name within a specified cluster. Use it to look up realm configuration details and confirm a realm exists before managing its settings.
Instructions
Get a realm by name.
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": {
"cluster_id": "<cluster_id>",
"realm": "<realm>"
},
"name": "skycloak_get_realm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| realm | Yes | the Keycloak realm name | |
| cluster_id | Yes | the cluster ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| name | Yes | ||
| enabled | Yes | ||
| display_name | No | ||
| ssl_required | No | ||
| registration_allowed | Yes | ||
| default_branding_applied | No | ||
| duplicate_emails_allowed | Yes | ||
| login_with_email_allowed | Yes | ||
| registration_email_as_username | Yes |