skycloak_delete_theme
Deletes a custom theme only after explicit confirmation, helping remove unused themes while blocking deletion of themes still assigned to a realm.
Instructions
Delete a custom theme. Set confirm=true to proceed. To change an existing theme's files, use skycloak_update_theme_content instead: deleting a theme that is still assigned returns 409, and re-uploading it gives a new ID.
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>",
"confirm": "<confirm>"
},
"name": "skycloak_delete_theme"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | must be true to confirm deletion | |
| theme_id | Yes | the theme ID | |
| cluster_id | Yes | the cluster ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||