split_item
Splits a MIDI item in two at a chosen bar and beat in REAPER, returning the IDs of both resulting sections.
Instructions
Splits an item in two at a bar/beat; returns both halves' ids.
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>",
"at_bar": "<at_bar>"
},
"name": "split_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at_bar | Yes | ||
| at_beat | No | Beat within the bar, 1-based (default 1) | |
| item_id | Yes | MIDI item id from create_midi_item/get_track_details, or "selected" |