create_midi_item
Create a MIDI item on a specified track in REAPER DAW. Set the start position and length in beats to add MIDI data for composition and arrangement.
Instructions
Create a MIDI item on a track.
Args:
track_number: Track number (1-based)
position: Start position in beats
length: Length in beats (default: 4 = 1 bar in 4/4)
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_number": "<track_number>"
},
"name": "create_midi_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| track_number | Yes | ||
| position | No | ||
| length | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |