Delete a draft
delete_draftDelete an unpublished draft permanently. Requires confirm: true because the action cannot be undone or recovered.
Instructions
Permanently delete an unpublished draft. There is no undo and no trash to recover it from, so this refuses to run without confirm: true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Draft id to delete. | |
| confirm | No | Must be true for this to run. This action cannot be undone, so it is refused without an explicit confirmation. | |
| publication | No | Which connected publication to act on, matched loosely against its hostname (for example 'example.substack.com' or just 'example'). Defaults to the first connected publication. |