Discard a draft
discard_draftDeletes an unsent draft outright — the draft page's own "Delete draft". Nothing was ever mailed or charged for it, so nothing is undone; a draft that has already been sent is a live event now and is archived with archive_event instead. Safe to repeat: a draft that is already gone answers ok. Needs the write permission.
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": {
"draft_id": "<draft_id>"
},
"name": "discard_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft_id | Yes | A draft_ id from create_event or list_events |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes |