midi_add_item
Create an empty MIDI item on a track spanning a specified time range, serving as a placeholder for later note insertion via midi_add_note.
Instructions
Create an empty MIDI item on a track spanning start_sec to end_sec. Returns nothing useful yet to reference the item by -- use midi_add_note with the same track/time range, which locates the item itself.
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_index": "<track_index>",
"start_sec": "<start_sec>",
"end_sec": "<end_sec>"
},
"name": "midi_add_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_sec | Yes | ||
| start_sec | Yes | ||
| track_index | Yes |