Set key times
set_event_key_timesReplace a gig's whole set of key times. Any key time you leave out is removed, so read them with get_event_key_times first and send the full list back with your edit and the revision from that read; if someone changed the key times since, the save fails with 409 and you read again. An empty list clears them. Confirmation-gated only when the new list removes a key time the gig has now: that call returns confirmation_required naming the ones it would remove and saves nothing. A time a person sets here is never overwritten by a later Flex, labor call or import sync. Run of show sections that follow a key time (key_time_kind) move with it. Requires gig-manager access and does not message crew.
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>",
"key_times": "<key_times>",
"revision": "<revision>"
},
"name": "set_event_key_times"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event_id | Yes | the gig (event) id, from list_events, open_gigs or my_agenda | |
| revision | Yes | the revision from your last get_event_key_times read | |
| key_times | Yes | the complete set after your edit | |
| confirmation_token | No | only when the new list removes a key time: leave empty on the first call; the server returns confirmation_required + a token, then resend the SAME args with that token |
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: { timezone, featured [kind], kinds [{ kind, label, color, guests, days, custom, archived }], revision, key_times [{ id, kind, label, color, date (YYYY-MM-DD), day_offset, time (HH:MM), past_midnight, at (ISO instant or null), note, set_by_user, source, updated_at }] } } | |
| error | No | when ok is false |