clips_set_length
Set a session clip's loop length in beats; notes past the end stay stored but do not play. Use it to adjust clip playback length with an undoable edit.
Instructions
Set the loop length of a session clip in beats (notes past the end stay but do not play). Undoable.
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": "<track>",
"slot": "<slot>",
"length_beats": "<length_beats>"
},
"name": "clips_set_length"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slot | Yes | 0-based clip slot (scene row) on the track. | |
| track | Yes | Track id (UUID string from tracks.list, stable) or 0-based index (shifts when tracks are added or moved). | |
| length_beats | Yes | Loop length in beats. |