set_clip_loop
Update loop brace positions and launch markers on a Session clip. Set start, end, start marker, or toggle looping.
Instructions
Update selected loop and launch markers on one existing Session clip.
Provide at least one optional field; omitted fields stay unchanged. start
and end are loop-brace positions in clip-relative beats and end must be
after start. start_marker controls where non-looped launch begins;
looping enables or disables repetition. Use set_loop for the Arrangement's
global loop region, not a clip, and get_clip_info to inspect current values.
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": "set_clip_loop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Optional position in beats from the start of the clip. | |
| start | No | Optional position in beats from the start of the clip. | |
| looping | No | Optional state change: true turns it on, false turns it off. | |
| clip_index | Yes | Zero-based Session-view clip-slot index on the track. | |
| track_index | Yes | Zero-based index of a regular track in the Live set. | |
| start_marker | No | Optional position in beats from the start of the clip. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |