Update run of show
update_event_run_of_showReplace the full Run of Show document for a gig: sections, items, cues, and song lists. get_event_schedule shows it only when the org adopted Run of Show; in an org that has not adopted, it reads the timeline, so read the result back with get_event_run_of_show. Pass expected_version from the current run-of-show GET (version field alongside sections/items). Times use RFC3339 with offset. Set allow_empty=true only to clear a previously non-empty show. Items may be sent back as the GET returned them: their songs and document_attachments become song_ids and document_ids. song_lists_complete defaults to true unless an existing item has neither song_ids nor songs. An item's linked_to_previous links it to the item just above it in the same section: SEGUE starts it when that item ends, GROUP moves it with that item and keeps its own time, null unlinks it; omit the field to keep the stored link, which is dropped if the item above changes. If expected_version is stale (someone else saved first) the save is rejected and the error tells you to re-read with get_event_run_of_show, re-apply your edit and retry with the new version. Confirmation-gated. Run-of-show editors 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>",
"expected_version": "<expected_version>",
"sections": "<sections>",
"items": "<items>"
},
"name": "update_event_run_of_show"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | every item the run of show should have after the edit, in the shape get_event_run_of_show returns; an item left out is removed | |
| event_id | Yes | the gig (event) id, from list_events, open_gigs or my_agenda | |
| sections | Yes | every section the run of show should have after the edit, in the shape get_event_run_of_show returns; a section left out is removed | |
| allow_empty | No | must be true to replace a populated run of show with zero sections/items | |
| expected_version | Yes | version from the run-of-show GET before editing | |
| 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 | |
| song_lists_complete | No | default true; false only for legacy clients that send partial song_ids |
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: { audience_positions, items [{ act_id, announcement, client_key, document_attachments, duration_minutes, end_time, ensemble, event_id, and 25 more fields }], music_notes, publication { crew_view, drafts_enabled, published, published_at, published_version, unpublished_changes }, sections [{ client_key, collapsed, day_offset, end_time, event_id, id, notes, sort_order, and 16 more fields }], timezone, version, track_crew } } | |
| error | No | when ok is false |