ios_type
Type text into an iOS app field by ref or target, optionally clearing it or pressing return. Reads the field back to confirm input landed, failing if text was not entered.
Instructions
Type into a field, focusing it first when a ref or target is given.
The field is read back afterwards. If the text did not land, the call
fails with typed.shown saying what the field holds; reformatted
means it landed with the app's own capitalisation or formatting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | A ref from the last observation, such as 'e7'. Preferred. | |
| text | Yes | Text to type. Never a password; see ios_type_secret. | |
| submit | No | Press return afterwards. | |
| 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. | |
| clear_first | No | Replace the field's contents. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||