Add or edit a staffing template
save_staffing_templateCreate a team template (a call list) in an organization, change one with calllist_id, or copy one with duplicate_from_calllist_id (its category, position slots with seats, labor call lines and roster into a new template; optional name defaults to " (copy)" server-side). When creating or editing, name is required. Prefer positions[]: it carries seats per slot, and a slot needs no member, so a template can describe a crew shape before anyone is picked. org_position_ids is the older flat form and cannot express seats. Pass members to pencil people in (user_id from list_org_members). Pass labor_lines to save a house labor call (per department: load-in, show and load-out call times and hands) that applying the template writes onto the gig labor call. When changing a template, name, description and category are replaced, members are upserted by user_id (delete:true removes one), position slots are rewritten only when positions[] or org_position_ids is sent, and labor_lines replaces the template's lines only when sent. Confirmation-gated only when any members[] entry has delete: true. Apply it to a gig with apply_calllist_to_event; edit a gig's own labor call with save_gig_labor_call.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "save_staffing_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | template name; required for create/edit, optional when duplicating | |
| members | No | members to add when creating, or to upsert or remove when changing | |
| category | No | free-text grouping shown as a badge, e.g. House, Festival, Corporate | |
| positions | No | position slots, in display order; replaces the existing slots wholesale | |
| calllist_id | No | change this template; omit to create one | |
| description | No | optional description | |
| labor_lines | No | labor call lines (house labor head counts and call times per department); replaces the existing lines wholesale, omit to leave them untouched. Applying the template adds each department the gig does not already have to its labor call. | |
| organization_id | No | organization to act in, an id from get_me; omit to use your active organization | |
| org_position_ids | No | legacy flat position ids from list_org_positions; ignored when positions is set | |
| confirmation_token | No | only when any members[] entry has delete: true: leave empty on the first call; the server returns confirmation_required + a token, then resend the SAME args with that token to proceed | |
| duplicate_from_calllist_id | No | copy this template into a new one instead of create/edit |
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: create or edit: { catalog_key, category, description, id, labor_lines [{ id, department, org_position_id, load_in_call, load_in_hands, show_call, show_hands, load_out_call, and 4 more fields }], members [{ call_order, calllist_id, email, id, is_backup, notes, org_member_id, org_position_id, and 4 more fields }], name, positions [{ id, members, name, org_position_id, required, seats, section, sort_order }], role_assignments, selected_roles [{ id, is_custom, name, position_id, section }], used_on_events_count }; a copy made with duplicate_from_calllist_id: { catalog_key, category, description, id, labor_lines [{ id, department, org_position_id, load_in_call, load_in_hands, show_call, show_hands, load_out_call, and 4 more fields }], members [{ call_order, calllist_id, email, id, is_backup, notes, org_member_id, org_position_id, and 4 more fields }], name, positions [{ id, members, name, org_position_id, required, seats, section, sort_order }], role_assignments, selected_roles [{ id, is_custom, name, position_id, section }], used_on_events_count } } | |
| error | No | when ok is false |