Replace gig schedule
upsert_event_scheduleReplace the entire gig timeline: PUT sends the full schedule_items list and any existing row whose id is omitted is deleted. Times are RFC3339 with offset. In an org that adopted Run of Show, the timeline rows are the timed cues and the timed sections with no timed cue: a listed id updates that cue or section, a row without a known id becomes a new unsectioned cue, and an omitted or _delete row is removed (a section that still holds cues is refused; edit it with update_event_run_of_show). Untimed cues are kept. Confirmation-gated. Gig managers only.
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>",
"schedule_items": "<schedule_items>"
},
"name": "upsert_event_schedule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event_id | Yes | the gig (event) id, from list_events, open_gigs or my_agenda | |
| schedule_items | Yes | the complete timeline after the edit; omitted ids are removed | |
| 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: { schedule_items [{ source, end_time, event_id, id, location, ensemble, name, notes, and 3 more fields }], timezone } } | |
| error | No | when ok is false |