create_midi_track_with_instrument
Combine MIDI track creation and instrument loading into a single call. Specify instrument URI, track index, and optional name.
Instructions
Create a new MIDI track and load an instrument in a single operation. Faster than separate create_midi_track + load_instrument_or_effect calls. Use index=-1 to append at the end. Optionally set the track name. IMPORTANT: load instruments sequentially, not in parallel.
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": {
"uri": "<uri>"
},
"name": "create_midi_track_with_instrument"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | Yes | ||
| index | No | ||
| name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |