set_instrument
Changes the sound of a MIDI track by replacing it with a preset or merging parameter tweaks into the current instrument.
Instructions
Change the sound of a MIDI track: sound = preset name (replaces it), or params = some parameters to tweak the current one (merged: e.g. {"cutoff": 900, "release": 0.6}). See instrument_params.
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": "<track>"
},
"name": "set_instrument"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | ||
| sound | No | ||
| track | Yes | ||
| params | No | ||
| project | No |