insert_midi_item
Insert an empty MIDI item on a track spanning a start and end time in seconds. Returns the item index for further editing.
Instructions
Insert an empty MIDI item on a track, spanning [start_sec, end_sec]. Returns the item index on the track.
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": "insert_midi_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_sec | Yes | ||
| start_sec | Yes | ||
| track_index | Yes |