Delete gig
delete_eventDelete a gig: it is hidden right away, crew are told it is cancelled, and it is permanently removed after 30 days unless restored with restore_event. Prefer cancel_event (keeps history) or archive_event (hides it) unless the gig was created by mistake. The server refuses (422) for COMPLETED or SETTLED gigs (proof of work) and for gigs with payment activity — cancel or archive those instead. Gig managers only. Confirmation-gated.
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>"
},
"name": "delete_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event_id | Yes | the gig to delete, an id from list_events, open_gigs or my_agenda | |
| confirmation_token | No | leave empty on the first call; the server returns confirmation_required + a token, then resend the SAME args with that token to proceed |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | true on success (including confirmation_required prompts) | |
| data | No | when the tool asks first: { status: "confirmation_required", confirmation_token, summary, expires_in_seconds, instructions } and nothing is changed; once confirmed, the API response { status (HTTP status), data: absent (the API answers 204 with no body) } | |
| error | No | when ok is false |