reaper_create_midi_item
Create a MIDI item on a REAPER track and optionally add notes, chords, or CC events to build or edit a MIDI arrangement.
Instructions
Create a new MIDI item on a track and optionally populate it with notes, chords, and CC events. Each note supports: pitch (int) OR note ('C4', 'F#3', 'kick') OR chord ('Cmaj7', 'Am9', optional octave/inversion/strum_beats), start_beat_rel (beats from item start) or start_beats (project beat), duration_beats, velocity (1-127), channel (0-15).
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": {
"track": "<track>"
},
"name": "reaper_create_midi_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| loop | No | ||
| name | No | ||
| color | No | ||
| notes | No | ||
| track | Yes | ||
| start_beats | No | ||
| length_beats | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |