mcp_opendaw_compact_tracks
Remove empty tracks from an audio unit or all audio units to clean up a project after deleting regions or editing.
Instructions
Remove empty tracks from an audio unit (or all AUs).
Calls ProjectApi.compactTracks() — removes tracks with no regions. Useful cleanup after deleting regions or editing.
unit_index: Audio unit index (-1 = all AUs).
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>"
},
"name": "mcp_opendaw_compact_tracks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |