skycloak_create_domain_route
Add a realm route to a custom domain so a chosen realm is reachable through that domain; avoid the reserved master realm, which the API rejects.
Instructions
Add a realm route to a custom domain. Never use the master realm; it is reserved for cluster management and the API rejects it.
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>",
"domain_id": "<domain_id>",
"realm": "<realm>"
},
"name": "skycloak_create_domain_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| realm | Yes | the realm to route to this domain | |
| domain_id | Yes | the domain ID | |
| cluster_id | Yes | the cluster ID | |
| hide_realm_path | No | whether to omit the /realms/{name} path segment | |
| allow_admin_access | No | whether the admin console is reachable via this domain |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| realm | Yes | ||
| hide_realm_path | Yes | ||
| allow_admin_access | Yes |