Discard a draft
drafts_deleteMove a draft to the bin, where its provider keeps it until its own retention ends it: threads_untrash with the messageId this answers and scope message brings it back as a draft. Only a draft not yet sent moves: a message already sent or received, or one a send through Lumman already named, is refused, and nothing already sent is touched.
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": {
"mailbox": "<mailbox>",
"id": "<id>"
},
"name": "drafts_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The id a draft tool answered, or the draftId a search or a read answered. | |
| mailbox | Yes | The mailbox's name or its email address. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| discarded | Yes | ||
| messageId | Yes |