Delete a draft
delete_draftPermanently deletes a specific draft from a mailbox account using its draft ID; use it to discard unwanted drafts, and note the action cannot be undone.
Instructions
Delete a draft for good. Reaches drafts only, never other mail. It cannot be undone. Not needed after send_draft, which removes the draft itself. To change a draft, use update_draft.
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": {
"account_id": "<account_id>",
"draft_id": "<draft_id>"
},
"name": "delete_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft_id | Yes | A draft of that account, by the id list_drafts or create_draft answers | |
| account_id | Yes | The account, by the id list_accounts names |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |