skycloak_set_theme_assignment
Assign custom Keycloak themes to a realm by type (login, account, admin, email), using a theme ID to activate or an empty string to reset to default while changing only provided fields.
Instructions
Assign custom themes to a realm per Keycloak theme type. Pass a theme ID to activate it, or an empty string to reset that type to Keycloak's built-in default. Only the provided fields are changed.
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_set_theme_assignment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| admin | No | theme ID for the admin console; empty string resets to the Keycloak default | |
| No | theme ID for email templates; empty string resets to the Keycloak default | ||
| login | No | theme ID for the login page; empty string resets to the Keycloak default | |
| realm | Yes | the Keycloak realm name | |
| account | No | theme ID for the account console; empty string resets to the Keycloak default | |
| cluster_id | Yes | the cluster ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| admin | No | ||
| No | |||
| login | No | ||
| account | No |