Set Instrument Sound
set_instrument_soundChanges the sound assigned to an instrument on a specified staff by setting its instrument ID, enabling timbre swaps in MuseScore scores.
Instructions
Change the sound of an instrument on a staff.
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": {
"staff": "<staff>",
"instrument_id": "<instrument_id>"
},
"name": "set_instrument_sound"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| staff | Yes | Staff number (0-based) | |
| instrument_id | Yes | ID of the new instrument sound |