ios_set_value
Set iOS UI controls like switches, sliders, steppers, or pickers to a desired value, checking current state first to prevent unintended toggles.
Instructions
Set a switch, slider, stepper, or picker to a value.
Prefer this over tapping a switch: it checks the current state first, so asking for 'on' when it is already on does nothing rather than turning it off.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | A ref from the last observation, such as 'e7'. Preferred. | |
| value | Yes | 'on'/'off' for switches, otherwise the value. | |
| target | No | Plain description of the element, e.g. 'the Send button'. Used if no ref. | |
| approve | No | Signature returned by a previous action_requires_approval error. | |
| idem_key | No | Optional key making a retry a no-op. Pass the same key when repeating an action you are unsure completed. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||