create_clip
Create an empty MIDI clip in an empty Session slot on an Ableton MIDI track; specify track, slot, and beat length, with dry_run to validate before committing.
Instructions
Create an empty MIDI clip in an empty Session slot.
Side effects: creates a clip in one undo step.
Example: create_clip(0, 1, 4.0) creates a four-beat clip.
Edge cases: only empty slots on MIDI tracks accept this operation. With
dry_run=True, the change is validated but not committed.
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": {
"track_index": "<track_index>",
"clip_index": "<clip_index>",
"length_beats": "<length_beats>"
},
"name": "create_clip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| clip_index | Yes | ||
| track_index | Yes | ||
| length_beats | Yes |