create_midi_clip
Create an empty MIDI clip in a specified track and clip slot, with configurable length and optional name. Use when you need a new clip in a known slot.
Instructions
Create an empty MIDI clip in a session clip slot. Use when the target MIDI track and clip slot are known and a new clip is needed. NOT idempotent for occupied slots; wrapped in an undo step and verified by returned clip length/name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| track_index | Yes | ||
| clip_slot_index | Yes | ||
| length_beats | Yes | ||
| name | No |