Delete draft event
delete_draft_eventPermanently delete a DRAFT event with zero orders — the cleanup for a test draft. Only drafts with no orders can be deleted (anything with an order is refused; archive it from the dashboard instead). 'Orders' means ticket orders and vendor food orders — both cascade-delete with the event, so both count. Call once to preview (confirm defaults to false): the preview shows the event title, date, and that it has zero orders and will be permanently deleted. Show the preview to the user, then call again with confirm=true and the same idempotency_key to delete it. The idempotency key is bound to this event: reusing it for a different event_id is refused. A retry with the same key for the same event returns the already-deleted result instead of erroring.
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": {
"event_id": "<event_id>",
"idempotency_key": "<idempotency_key>"
},
"name": "delete_draft_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Set to true ONLY after showing the preview to the user and getting their approval. Default false: returns a preview of exactly what would happen and changes nothing. | |
| event_id | Yes | Event ID from list_my_events | |
| idempotency_key | Yes | A unique key for this write (e.g. a UUID). REQUIRED. Reuse the exact same key if you retry this call — a replay returns the original result instead of executing again. A retry with a different key (or none) may create a second event or send a second broadcast. | |
| organization_id | No | Organization ID. Required when you belong to several organizations — use list_my_organizations to see them. Omit it when you belong to exactly one. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event | No | ||
| preview | Yes | ||
| summary | No | ||
| replayed | No | ||
| already_deleted | No | ||
| confirm_required | No |