mcp_opendaw_set_region_duration
Change a region's duration in beats (e.g., 4.0 for one bar in 4/4). Specify track and region index to adjust length.
Instructions
Set the duration of a region.
duration_beats: New duration in beats (e.g. 4.0 = 1 bar in 4/4).
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>",
"duration_beats": "<duration_beats>"
},
"name": "mcp_opendaw_set_region_duration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit_index | No | ||
| track_index | Yes | ||
| region_index | Yes | ||
| duration_beats | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |