mcp_opendaw_delete_section
Remove all regions within a specified beat range from selected audio units. Ideal for clearing bars in a DAW arrangement to make space for new content.
Instructions
Delete all regions within a beat range across all tracks.
Scans all tracks across all specified audio units, finds every region that overlaps the [from_beat, to_beat) range, and deletes each one. This is the arrangement cleanup tool: "clear bars 9-12 so I can put something else there" or "remove the intro (bars 1-4) from all tracks".
Completes the section CRUD trilogy: duplicate (copy), move (cut-paste), delete (remove). One call replaces N delete_region calls.
from_beat: Start of the section to delete (beats). to_beat: End of the section to delete (beats, exclusive). unit_indices: Comma-separated AU indices to scan (default: all AUs).
Returns number of regions deleted, per-track details, and remaining counts.
Examples: delete_section(from_beat=0, to_beat=16) -> Remove first 4 bars from ALL tracks across ALL audio units delete_section(from_beat=32, to_beat=48, unit_indices="0,1") -> Remove bars 9-12 from AUs 0 and 1 only
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_beat | Yes | ||
| from_beat | Yes | ||
| unit_indices | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |