Apply call list to gig
apply_calllist_to_eventDrop a call list onto a gig as DRAFT shifts (mode=draft_shifts, the default): one draft shift per position slot, covering every day of the gig, sized at the template seats, with the primary person penciled into each slot attached as an un-sent draft recipient (backups are left off the shift). NOTHING IS SENT AND NOBODY IS NOTIFIED — the admin reviews the roster and sets fees, then sends the offers. Re-applying is a no-op for slots this template already put on the gig (DRAFT/OPEN/FILLED); withdrawn or expired shifts leave a hole a re-apply refills. Both modes also add each template labor call line whose department the gig does not already have (case-insensitive) to the gig labor call, which writes its house labor shifts; labor_departments_added counts them. Returns shifts_created / recipients_added / skipped, plus a hint explaining why when 0 shifts were created (no org positions, template members without a position, empty slots, or already applied). mode=event_members is the legacy path: it adds roster rows instead of shifts, primaries (call_order 0) INVITED and backups STANDBY, and puts nothing on the Staffing board. Either mode commits people from the template onto a real gig, so it is 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": {
"calllist_id": "<calllist_id>",
"event_id": "<event_id>"
},
"name": "apply_calllist_to_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | draft_shifts (default) creates draft shifts; event_members is the legacy roster path | |
| event_id | Yes | the gig to apply the call list to, an id from list_events, open_gigs or my_agenda | |
| calllist_id | Yes | the call list (team template) to apply, an id from get_staffing_plan scope "templates" | |
| organization_id | No | organization to act in, an id from get_me; omit to use your active organization | |
| 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 | tool payload (API/composite/confirmation object); object, array, or primitive JSON | |
| error | No | when ok is false |