midi_set_item_extents
Set precise boundaries for a MIDI item by specifying its start and end positions in quarter notes, controlling its duration on the timeline.
Instructions
Set MIDI item boundaries in quarter notes.
Args: item_index: MIDI item index. start_qn: Start in quarter notes. end_qn: End in quarter notes.
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_index": "<item_index>",
"start_qn": "<start_qn>",
"end_qn": "<end_qn>"
},
"name": "midi_set_item_extents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_qn | Yes | ||
| start_qn | Yes | ||
| item_index | Yes |