reaper_create_midi_item
Creates a MIDI item on a REAPER track with a specified start and length, optionally adding MIDI notes timed in beats from the item start.
Instructions
Create a MIDI item, optionally filled with notes. Note times are in beats relative to the item start.
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>",
"start": "<start>",
"length": "<length>"
},
"name": "reaper_create_midi_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| unit | No | 'seconds', 'beats' (quarter notes from project start) or 'bars' (1-based, fractional allowed) | bars |
| notes | No | ||
| start | Yes | ||
| track | Yes | Track number as shown in REAPER (1-based, 0 = master) or exact track name | |
| length | Yes |