Delete Saved Draft
qubrics_mailbox_delete_draftPermanently delete a saved email draft by its ID when the user requests removal. Stops further edits to that draft; deletion runs in the background and cannot remove a send already in progress.
Instructions
Delete a saved draft only when the user asks. Requires mailbox.read and mailbox.drafts.write. Deletion finishes in the background; a send already in progress cannot be deleted.
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": "qubrics_mailbox_delete_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draftId | Yes | Stable draft ID. | |
| If-Match | No | Delete only if this is still the current draft. | |
| mailbox_id | No | Mailbox public ID to target when the credential grants access to more than one mailbox. Omit when the credential is scoped to exactly one mailbox. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |