midi_list_programs
List the MIDI program names exposed by a track's instrument, including plugin supplier and zero-based program numbers, to pass directly to fx_set_preset.
Instructions
List the MIDI program names a track's instrument exposes.
Returns supplier (the plugin providing the list, null if none) and
programs as {program, name} pairs, program numbers 0-based.
Names come back exactly as the plugin reports them, including any fixed-width padding, so they can be passed straight to fx_set_preset ā unlike the names in REAPER's presets/*.ini, which are stored trimmed and will be rejected.
Whether a plugin honors a Program Change is a separate question from whether it publishes names here; some publish a full list and still only respond to the preset selector, or the other way round.
Args: track_index: 0-based track index.
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_index": "<track_index>"
},
"name": "midi_list_programs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| track_index | Yes |