mcp_opendaw_flatten_note_regions
Combine overlapping note regions on a track into one. Merges selected regions, deletes originals, and returns a single flattened region for simplified editing.
Instructions
Flatten (merge) multiple overlapping note regions into a single region.
Merges selected note regions on the same track into one, combining all notes. The original regions are deleted and replaced by a single flattened region.
unit_index: AU index. track_index: Track index within the AU. region_indices: Comma-separated region indices to flatten (e.g. "0,1,2").
Returns the new flattened region info, or error.
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_indices": "<region_indices>"
},
"name": "mcp_opendaw_flatten_note_regions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit_index | Yes | ||
| track_index | Yes | ||
| region_indices | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |