create_clip
Create a new empty MIDI clip in a specified track and clip slot, with adjustable length in beats.
Instructions
Create a new empty MIDI clip in a clip slot.
Parameters:
track_index: The track index (0-based)
clip_index: The clip slot index (0-based)
length: Clip length in beats (default 4.0 = 1 bar in 4/4)
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 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |