update_instrument
Modify an instrument's voice or settings; all patterns using it update automatically. Switching to a drumkit removes notes without matching drum items.
Instructions
Changes an instrument's voice or settings. Every pattern using it changes too. Switching a pattern's instrument to a drumkit drops notes that have no matching item.
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": {
"instrument": "<instrument>"
},
"name": "update_instrument"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| voice | No | Voice from list_voices: "MIDI/Grand Piano", a unique part of a name, or its index. | |
| cutoff | No | Low-pass filter cutoff, 0-128. 128 (the default) means no filtering. | |
| volume | No | 0-256, 256 by default. | |
| resonance | No | Low-pass filter resonance, 0-9. | |
| instrument | Yes | Index of the instrument. |