mcp_opendaw_create_track_region
Creates a note or value region on any track by auto-detecting track type. Specify unit, track index, start beat, duration, name, and hue.
Instructions
Create a region on any track (note or value) using the generic createTrackRegion API.
Automatically detects track type and creates the appropriate region:
Note track → NoteRegionBox with NoteEventCollection
Value track → ValueRegionBox with ValueEventCollection Returns Option.None (error) for audio tracks — use place_audio_region instead.
unit_index: Audio unit index (-1 = search all AUs). track_index: Track index within the AU. start_beat: Beat position for the region. duration_beats: Duration in beats. name: Display name (empty = auto: "Notes" or "Automation"). hue: Color 0-360 (-1 = auto from track type).
Returns region UUID, type, and position.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hue | Yes | ||
| name | Yes | ||
| start_beat | Yes | ||
| unit_index | Yes | ||
| track_index | Yes | ||
| duration_beats | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |