delete_item
Remove an item by its MIDI ID or the current selection in REAPER, with undo available.
Instructions
Deletes an item (undoable).
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": {
"item_id": "<item_id>"
},
"name": "delete_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_id | Yes | MIDI item id from create_midi_item/get_track_details, or "selected" |