add_instrument_track
Adds an instrument track to the end of the Song Editor using a plugin selected from list_plugins. Use it to create a new instrument channel before writing MIDI or adjusting parameters.
Instructions
Add an instrument track at the end of the Song Editor. Call list_plugins first.
This cannot be undone with undo.
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": {
"plugin": "<plugin>"
},
"name": "add_instrument_track"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional track name. Default: the plugin's display name. | |
| plugin | Yes | A plugin name or display name from list_plugins, for example tripleoscillator. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pan | No | ||
| name | Yes | ||
| path | Yes | ||
| solo | Yes | ||
| type | Yes | ||
| index | Yes | ||
| muted | Yes | ||
| handle | Yes | ||
| volume | No | ||
| clip_count | Yes | ||
| instrument | No | ||
| mixer_channel | No |