Add or edit a setlist
save_setlistCreate a setlist, or replace the title and sets of one. Without setlist_id this creates a setlist in organization_id, optionally attached to event_id; pass sets to include songs, or add them later. With setlist_id it replaces that setlist: title is required, and sets, when provided, replace all of its sets. Each song in sets[].songs must reference an existing library song id from create_song. When the organization keeps gig sets in Run of Show (setlists brought over), gig-attached writes store sets as song run-of-show items the same way the Setlist view does; library setlists without a gig still use the setlist API. Confirmation-gated only when sets is passed (including on create with event_id), because that replaces existing song sets on the gig or setlist.
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": {
"title": "<title>"
},
"name": "save_setlist"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sets | No | sets and songs; when creating, omit for an empty setlist; when replacing, replaces all sets | |
| title | Yes | title of the setlist (not name) | |
| event_id | No | optional: associate the setlist with this event | |
| setlist_id | No | replace this setlist; omit to create one | |
| is_template | No | true to save as a reusable template instead of a one-off | |
| organization_id | No | the organization to create the setlist in, an id from get_me (required when creating) | |
| confirmation_token | No | only when sets is passed: 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 | 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: a library setlist: { setlist { event_id, id, is_template, notes, sets, title, total_duration } }; a gig setlist, which is written through the run of show: the gig setlists as list_setlists returns them, plus written_to: "run_of_show" and event_id } | |
| error | No | when ok is false |