Delete Template
delete_templateRemove a custom template from LightCMS when it's no longer needed, ensuring it's not a system template or currently in use by content.
Instructions
Delete a template. Cannot delete system templates or templates that have content using them.
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": {
"id": "<id>"
},
"name": "delete_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Template ID (MongoDB ObjectID),required |