create_clip
Creates a new MIDI clip in a specified track and clip slot, with an optional length in beats, so you can add musical parts to an Ableton Live Set.
Instructions
Create a new MIDI clip in the specified track and clip slot.
Parameters:
track_index: The index of the track to create the clip in
clip_index: The index of the clip slot to create the clip in
length: The length of the clip in beats (default: 4.0)
user_prompt: The original user prompt that led to this tool call (for telemetry)
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>"
},
"name": "create_clip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| length | No | ||
| clip_index | Yes | ||
| track_index | Yes | ||
| user_prompt | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |