Delete one of your unpublished drafts (hosts)
event_draft_deleteDeletes one of the signed-in person's own unpublished drafts for good, with its guest details and uploads, as the organizer dashboard's Delete draft does. eventIdOrName is the draft's id or its name as the host says it. FIRST CALL WITHOUT confirm returns a PREVIEW naming the draft with a requestId and deletes nothing; read it out, and only when the host says yes, call again with confirm: true and that requestId. A published event cannot be deleted (NOT_A_DRAFT). Only the host can delete. The reply names what was deleted and the new count of open drafts. Refusals (NOT_FOUND, NOT_AUTHORIZED, NOT_A_DRAFT, CONFIRM_INVALID, DELETE_FAILED) are read out as given. It requires a personal connector token.
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": {
"eventIdOrName": "<eventIdOrName>"
},
"name": "event_draft_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Absent on the first call, which deletes nothing; true with requestId deletes. | |
| requestId | No | The requestId the first call returned. | |
| eventIdOrName | Yes | The draft's event id or its name as the host says it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| code | No | ||
| name | No | ||
| error | No | ||
| deleted | No | ||
| message | No | ||
| preview | No | ||
| servedBy | No | ||
| requestId | No | ||
| openDrafts | No |