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.
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>",
"track_index": "<track_index>",
"start_beat": "<start_beat>",
"duration_beats": "<duration_beats>",
"name": "<name>",
"hue": "<hue>"
},
"name": "mcp_opendaw_create_track_region"
}
}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 |