gmail_delete_draft
Delete or discard a Gmail draft by index, optionally targeting a search query with a subject safety check. Requires confirm=true because the action is destructive.
Instructions
Delete (discard) a draft: index from gmail.drafts, optionally with the same query.
Requires confirm=true (outward-facing or destructive).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | Row index from gmail.drafts (default 0 when query is given). | |
| query | No | The query used with gmail.drafts (searches 'in:drafts <query>'); default: the query of the last gmail.drafts listing (else the Drafts folder). | |
| confirm | No | Must be true: this action is outward-facing or destructive. | |
| expect_subject | No | Safety check: the draft's subject must contain this text. |