phone_tap_element
Tap a specific UI element by index and snapshot token; the action is rejected if the screen changed, preventing stale references from hitting the wrong control.
Instructions
Tap one element by its zero-based index and snapshot token from the SAME phone_elements response. The daemon re-reads the tree and refuses the action if the UI changed, so a stale element reference cannot silently tap a different control. Use identifier/kind/label/state fields to choose the index. Snapshot refs are ephemeral: never persist them in a flow.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| element | Yes | Zero-based element index from `phone_elements`. | |
| observe | No | Default true: return what the screen settled to (as on phone_tap). `false` for the fastest bare action. | |
| instance | No | Installed local instance name, such as i13 or default. Omit to use the configured daemon. No fallback on failure. | |
| snapshot | Yes | Snapshot token from the same `phone_elements` response. |