skycloak_get_theme
Fetches a custom Keycloak theme by cluster and theme ID and reports if a cluster restart is needed to apply replaced theme content.
Instructions
Get a custom theme by ID. restart_required is true when the theme's content was replaced under its exact name (see skycloak_get_theme_settings) and Keycloak has not restarted since, so the previous content may still be live; use skycloak_restart_cluster_instances to apply 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>",
"theme_id": "<theme_id>"
},
"name": "skycloak_get_theme"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| theme_id | Yes | the theme ID | |
| cluster_id | Yes | the cluster ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | Yes | ||
| status | Yes | ||
| version | No | ||
| file_size | Yes | ||
| theme_types | Yes | ||
| restart_required | No |