mcp_opendaw_duplicate_region
Duplicate any region (audio, note, or value) in openDAW using the DAW's built-in API. Place the copy after the original or find free space, then retrieve the new region's position and index.
Instructions
Duplicate any region (audio, note, or value) using the DAW's built-in duplicateRegion API.
Places the copy right after the original. With find_free_space=True, scans for the first available gap on any track (auto-resolves overlaps). Without it, places on the same track at the original's end position.
unit_index: Audio unit index (-1 = search all AUs). track_index: Track index within the AU. region_index: Region to duplicate (0-based). find_free_space: If True, find the first free space on any track. If False, place directly after the original on the same track.
Returns the new region's position and index.
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": {
"unit_index": "<unit_index>",
"track_index": "<track_index>",
"region_index": "<region_index>",
"find_free_space": "<find_free_space>"
},
"name": "mcp_opendaw_duplicate_region"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit_index | Yes | ||
| track_index | Yes | ||
| region_index | Yes | ||
| find_free_space | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |