Save a gig as a template
save_event_as_templateSave a gig as a reusable gig template (a TEMPLATE-status event) that brief-to-plan can plan from. Structure is kept — schedule shape, roles, checklist — while people, money, and client data are always left out. Run preview_save_event_as_template first, show the user what is kept and dropped, and pass its preview_token back so the save matches the preview. target_template_id saves a NEW VERSION of an existing template instead of creating another one. Nobody is notified. Runs on the first call; there is no confirmation step.
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>"
},
"name": "save_event_as_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | notes stored on the template | |
| title | No | template name; defaults to the gig title | |
| exclude | No | section keys to drop from the template | |
| include | No | section keys to keep that the template would otherwise drop | |
| event_id | Yes | the gig to save as a template | |
| preview_token | No | token from preview_save_event_as_template, so the save matches the preview | |
| target_template_id | No | existing template id to save a new version of, instead of creating a new one |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | true on success (including confirmation_required prompts) | |
| data | No | the API response { status (HTTP status), data: { assignments, event { admin_notes, admin_notes_saved, assignees, assignments, calendar_event_id, continuous_music, contact_email, contact_name, and 56 more fields }, invitations [{ converted_to_offer_id, call_order, currency, decline_reason, delivery_status, email, email_bounced_at, email_delivered_at, and 20 more fields }], members [{ calendar_status, call_order, email, id, invitation_status, org_position_id, phone_number, position_name, and 4 more fields }], template_summary { last_used_at, run_of_show_item_count, shift_count, task_count, used_count }, inventory_short_count, viewer_capabilities { can_manage_event, can_manage_assignees, can_manage_staffing, can_manage_tasks, can_edit_run_of_show, can_view_financials, can_edit_financials, can_write_show_notes, and 11 more fields }, read_at } } | |
| error | No | when ok is false |