create_clip
Create a new MIDI clip in a specified track and slot, setting its length in bars and optionally naming it.
Instructions
Create a new MIDI clip in a slot. length: clip length in bars (e.g. 4.0 = 4 bars).
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>",
"slot_index": "<slot_index>"
},
"name": "create_clip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| track_index | Yes | ||
| slot_index | Yes | ||
| length | No | ||
| name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |