delete_template
Permanently remove a saved Odoo PDF or HTML email template by template ID, letting AI agents clean up or retire templates without using the Studio UI.
Instructions
Delete a template.
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": {
"template_id": "<template_id>"
},
"name": "delete_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| template_id | Yes |