tap_element
Tap an identified element or a specific screen point to interact with an Android app. Returns updated screen state and log changes, re-resolving if the target moved.
Instructions
Tap an element by id (preferred) or by raw coordinates.
Returns the new screen state and the log delta the tap produced. If the target moved or vanished since the last observation, it is re-resolved by selector, or the fresh screen is returned so you can retarget in one turn.
Args:
element: Element id from a recent screen state, e.g. e3.
x: X pixel (only if not using element).
y: Y pixel (only if not using element).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| element | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |