mcp_opendaw_set_region_loop
Set loop length and offsets for a note region to repeat its pattern, targeting specific track and region indices.
Instructions
Set loop parameters for a note region.
Looping repeats the note pattern within the region. The region duration can be longer than the loop, causing the notes to repeat.
loop_beats: Loop length in beats (e.g. 4.0 = 1 bar in 4/4). Set to 0 to disable loop. loop_offset_beats: Offset within the event collection where the loop starts. event_offset_beats: Offset added to all note positions. unit_index: Audio unit index (-1 = search all AUs). track_index: Track index within the AU. region_index: Region to modify (0-based).
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>",
"region_index": "<region_index>",
"loop_beats": "<loop_beats>",
"loop_offset_beats": "<loop_offset_beats>",
"event_offset_beats": "<event_offset_beats>",
"unit_index": "<unit_index>"
},
"name": "mcp_opendaw_set_region_loop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| loop_beats | Yes | ||
| unit_index | Yes | ||
| track_index | Yes | ||
| region_index | Yes | ||
| loop_offset_beats | Yes | ||
| event_offset_beats | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |