mcp_opendaw_reorder_sections
Rearrange song sections by providing a new order of beat ranges. Notes are moved to restructure the timeline, enabling full song form editing.
Instructions
Reorder song sections — rearrange blocks on the timeline.
Takes a list of section boundaries and rearranges them into a new order. Each section is defined by its start and end beat. The tool collects all note content from each section, then places them in the specified new order, back-to-back, starting from the first section's original start position.
This is the full song structure editor: instead of swapping two sections (swap_sections), you can completely rearrange the form. Turn verse-chorus-verse-chorus-bridge-chorus into chorus-verse-bridge-chorus-verse-chorus in one call.
section_order: JSON array of section objects, each with "start" and "end" beat positions, listed in the NEW desired order. Example: '[{"start":0,"end":8},{"start":16,"end":24},{"start":8,"end":16}]' This takes sections at [0-8], [16-24], [8-16] and places them in that order, starting at beat 0.
Sections can overlap in the original but not in the output — they are placed sequentially. Section lengths are preserved.
unit_indices: Comma-separated unit indices to process ("" = all units).
Returns sections reordered, notes moved per unit, new section layout.
Example:
Move chorus to front
reorder_sections('[{"start":16,"end":32},{"start":0,"end":8},{"start":8,"end":16}]')
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit_indices | No | ||
| section_order | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |