ui_set_value
Sets a numeric value on sliders, spinners, and progress bars using RangeValuePattern. Safely handles out-of-range values by returning a status message instead of throwing an error.
Instructions
Set a numeric value on a slider, spinner, or progress bar via RangeValuePattern.
Returns {set: false, reason: "value X out of range [min..max]"} if the value is outside the element's Min/Max bounds — does NOT raise an exception.
Args: automation_id: AutomationId of the RangeValue element (slider, spinner, etc.) value: The numeric value to set. Must be within element's [Minimum, Maximum].
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | ||
| automation_id | Yes |