get_clip_loop
Retrieves a clip's loop switch, loop brace, start and end markers, and actual playback range in beats or seconds. Also reports arrangement position for arrangement clips.
Instructions
A clip's loop switch, loop brace and start/end markers, and what actually plays. Beats, except seconds for an unwarped audio clip ("units" says which). Arrangement clips also report their place in the song.
Parameters:
track_index: The track
clip_index: Session slot, or position in get_arrangement_clips
location: "session" (default) or "arrangement"
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": "get_clip_loop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| location | No | session | |
| clip_index | Yes | ||
| track_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |