create_track
Creates a MIDI, audio, or return track in an Ableton Live set, optionally with a name, color, index, and first device.
Instructions
Create a track: kind "midi", "audio" or "return", optionally named, coloured and with a first device.
index: position among regular tracks (-1 = end; returns always go last). color: Live colour index 0..69 or "#RRGGBB". device: any device by name, case-insensitive ("Operator", "eq eight", "DS Kick"); native devices are inserted directly, Max for Live and pack devices are loaded through the browser. Instruments and MIDI effects need a MIDI track. Returns the new track's ref, routing and arm state (MIDI tracks can come up armed). Example: create_track("midi", "Bass", device="Operator").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| name | No | ||
| color | No | ||
| index | No | ||
| device | No |