Delete template
fabrement-delete-templateDelete a site template (irreversible). Pages that used it explicitly fall back to their post type's default and it stops being any type's default; its header/footer global blocks stay. Refused while anything still points at it, and the answer says what — pass force:true to delete anyway. Rules: get-skill-doc {id:"template-contract"} — read it before the first call.
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": {
"templateId": "<templateId>"
},
"name": "fabrement-delete-template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Delete even while pages, post-type defaults or archive views still point at it. | |
| templateId | Yes | Template id from list-templates. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deleted | Yes | ||
| clearedPages | Yes |