Command line
track list
List all tracks
track get
Get a track by its handle
track create
Create a new track
track delete
Delete a track by its handle
Track handle (trk_42) OR 1-based number (1, 2, …) OR ordinal (first, second, …). Omit if using —liveset-id.
Stable liveset_id handle (trk_42) from ‘vibrai track list —json’; equivalent to passing the handle positionally as <track>. Kept for backward compatibility — takes precedence over the positional value when both are supplied.
track rename
Rename a track by its handle
Track handle (trk_42) OR 1-based number (1, 2, …) OR ordinal (first, second, …). Omit if using —liveset-id (in that case pass <name> alone after the flag).
New track name. Required (validated at runtime; declared optional only so Spectre permits the —liveset-id <name> shape).
Stable liveset_id handle (trk_42) from ‘vibrai track list —json’; equivalent to passing the handle positionally as <track>. Kept for backward compatibility — takes precedence over the positional value when both are supplied.
track mixer
Show a track’s volume, pan, mute/solo/arm and sends
track set-mixer
Set a track’s volume, pan, mute/solo/arm or sends
Send level as return_name=dB, e.g. —send A-Reverb=-12. Repeatable. See ‘vibrai mix returns’ for the available names.
track set-color
Set a track’s colour by Live palette index
track auto-number
Turn Ableton’s ’#’ track auto-numbering on or off across the open set
Also record the choice in the project’s defaults.number_tracks, so a later generate/track create inherits it. Implies —write-project.
Path to the .vibrai file (default: <current-directory-name>.vibrai in the working directory). Only read or written when —persist or —write-project is given.
MCP tools
list_tracks
List all tracks in the current Live set. Track id is 1-based. midi_index is the ordinal among playable MIDI tracks only (also 1-based), or null for audio and group tracks. is_group marks a group (folder) track — it holds no clips, so never target it for generation; group_id is the parent group’s handle (null at top level); fold_state is 1 when a group is collapsed.
get_track
Get a single track by its liveset_id handle from list_tracks (e.g. trk_42). Returns the same shape as list_tracks (1-based id/midi_index, plus is_group/group_id/fold_state). Errors TRACK_NOT_FOUND if no such track exists.
create_track
Create a new MIDI track of the given part type. Returns the created track with a 1-based id (matching list_tracks).
Prefix the name with Ableton’s ’#’ auto-numbering token. Null inherits VIBRAI_NUMBER_TRACKS.
delete_track
Delete a track by its liveset_id handle from list_tracks (e.g. trk_42). If the target is a group track, Live removes every track inside it — the result lists them in removed_children. Remaining tracks keep their handles. Destructive — no undo. Errors: TRACK_NOT_FOUND, CANNOT_DELETE_LAST_TRACK.
set_track_name
Rename a track. Address it by its liveset_id handle from list_tracks (e.g. trk_42).
Prefix the name with Ableton’s ’#’ auto-numbering token. Null inherits VIBRAI_NUMBER_TRACKS.
set_track_auto_numbering
Turn Ableton’s ’#’ track auto-numbering on or off across every track in the open set. This is a one-shot sweep, not a mode: it renames the tracks that are there now and does not change what a later generate/create_track does. Turning it off strips a leading number only when it matches the track’s own position, so a track genuinely named ‘808 Bass’ is left alone. Reversible by calling again with the opposite value. CLI equivalent: vibrai track auto-number on|off.
Also record the choice in the project’s defaults.number_tracks so a later generate inherits it. Implies write_project.
Path to the .vibrai file (defaults to <current-directory-name>.vibrai in the working directory when omitted). Only read or written when persist or write_project is set.
get_track_mixer
Read a track’s mixer state: volume (both dB and Live’s raw 0.0-1.0), pan, mute, solo, arm, and every send with its return-track name. Address the track by its liveset_id handle from list_tracks (e.g. trk_42).
set_track_mixer
Set any subset of a track’s mixer state. Omitted fields are left untouched. Volume takes EITHER volume_db (preferred, e.g. -6) OR volume_raw (Live’s 0.0-1.0) — passing both is an error. A fader runs to +6 dB (unity at raw 0.85); a send runs to 0 dB. Sends are addressed by return-track name as “name=dB” pairs, e.g. [“A-Reverb=-12”]. Returns the post-write state, so the reported volume is what actually landed rather than what was requested.
Send levels as “return_name=dB” pairs, e.g. [“A-Reverb=-12”, “B-Delay=-18”]. Use list_returns to see the available names.
apply_mix
Apply a whole mix in one call, keyed by part type. Each entry is “part_type=dB” (e.g. “bass=-6”), optionally with pan and sends: “pad=-12:pan=-0.3:send=A-Reverb=-9”. Resolves part types to tracks via the loaded project when there is one (exact), or track-name hints when there isn’t (heuristic) — the result reports which path ran. Part types with no matching track come back as warnings, not errors.
Path to the .vibrai project to bind part types against (defaults to <current-directory-name>.vibrai in the working directory). When no project is found, binding falls back to track-name hints and says so.