add_instrument
Adds an instrument to a song by selecting a voice from the available list, with optional volume and filter settings; songs can hold up to 16 instruments.
Instructions
Adds an instrument to the song. A song can have 16.
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": {
"voice": "<voice>"
},
"name": "add_instrument"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| voice | Yes | 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. |