Delete authoring draft
delete_template_draftPermanently delete a template authoring draft by draftId to discard abandoned work. Requires explicit confirmation since draft data and revisions cannot be recovered.
Instructions
Permanently delete a template authoring draft by draftId. Call only when abandoning a draft that should be permanently destroyed. If the draft is complete and ready for production, call publish_template_draft instead. Destructive operation requiring explicit user confirmation: draft canvas data, layer AST, and unpublished revisions cannot be recovered. Returns deletion confirmation record.
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": {
"draftId": "<draftId>"
},
"name": "delete_template_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draftId | Yes | The unique draft identifier to permanently delete. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deleted | No | True if deletion confirmed. | |
| draftId | No | Deleted draft ID. |