mcp_opendaw_delete_region
Delete a specified region from a track, removing its notes, audio, or automation. Returns the count of remaining regions.
Instructions
Delete a region from a track.
Removes the region and all its contents (notes for note regions, audio reference for audio regions, automation events for value regions).
track_index: Track index within the AU. region_index: Region to delete (0-based). unit_index: Audio unit index (-1 = search all AUs). region_type: 'note', 'audio', or 'value' (for filtering).
Returns remaining region count on the track.
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>",
"unit_index": "<unit_index>",
"region_type": "<region_type>"
},
"name": "mcp_opendaw_delete_region"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit_index | Yes | ||
| region_type | Yes | ||
| track_index | Yes | ||
| region_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |