mcp_opendaw_set_script_param
Set a scriptable device parameter by label with automatic validation and clamping to the declared range and type.
Instructions
Set a parameter value on a scriptable device by label.
The parameter must exist (created from a // @param declaration in the code).
The value is validated against the declaration's range (min/max) and mapping type:
bool: snaps to 0 or 1
int: rounds to nearest integer within [min, max]
linear/exp/unipolar: clamps to [min, max] Response includes
clampedflag andrangeinfo if the value was adjusted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | ||
| unit_index | Yes | ||
| device_type | Yes | ||
| param_label | Yes | ||
| device_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |