Restore deleted gig
restore_eventBring back a gig deleted in the last 30 days (see list_events with event_status=DELETED). It comes back as a DRAFT with nobody notified: its crew invitations are reset to unsent, and publishing it (event_status ACTIVE) re-invites them. Its sent crew offers go back to DRAFT with every answer cleared, so send each one again (send_crew_offer) to ask the crew afresh. Fails with 409 once the 30 days have passed and the gig is being permanently deleted. 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": "restore_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event_id | Yes | the deleted gig to restore | |
| 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: { id, restored } } | |
| error | No | when ok is false |