set_device_parameter
Set a device parameter by index or name; value is automatically clamped to the parameter's min/max range.
Instructions
Set a device parameter (e.g. a Utility's Gain, a Compressor's Threshold) by its index or its name. Call get_device_parameters first to see names/ranges. The value is clamped to the parameter's min/max.
Parameters:
track_index: The track holding the device
device_index: The device's index in that track's chain (0 = first)
parameter: Parameter index (int) or exact parameter name (str)
value: The value to set (in the parameter's own units, e.g. dB for Gain)
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>",
"parameter": "<parameter>",
"value": "<value>"
},
"name": "set_device_parameter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | ||
| parameter | Yes | ||
| track_index | Yes | ||
| device_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |