Delete Template
delete-templatePermanently delete an email template and all its versions by slug. This action is irreversible, and any emails referencing the deleted template will fail to send.
Instructions
Permanently delete an email template and all its versions. Before using this tool, you MUST double-check with the user that they want to delete this template. Warn them that this action is irreversible and any emails referencing this template slug will fail.
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": {
"slug": "<slug>"
},
"name": "delete-template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The template slug to delete | |
| project_id | No | Project ID to find the template in. If not provided, uses the team's default project. |