reaper_clear_midi_notes
Clears all MIDI notes from a specified item on a track, letting you reset or replace note data in REAPER.
Instructions
Remove all notes from a MIDI item.
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>",
"item": "<item>"
},
"name": "reaper_clear_midi_notes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | Yes | 0-based item index on the track, from reaper_list_items | |
| track | Yes | Track number as shown in REAPER (1-based, 0 = master) or exact track name |