set_plugin_state
Switch a VST/AU plugin device's preset by index or name and open or close its editor window for track, return, or master devices in Ableton Live.
Instructions
Switch a VST/AU PluginDevice's preset (preset_index or preset_name) and/or GUI window (editor_open).
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>",
"device_index": "<device_index>"
},
"name": "set_plugin_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| track_type | No | Target container: 'track' (default), 'return', or 'master'. | track |
| editor_open | No | ||
| preset_name | No | ||
| track_index | Yes | Zero-based index of a regular track in the Live set. | |
| device_index | Yes | Zero-based device position in the target track's device chain. | |
| preset_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| error | No |