Tap annotated element
tap_elementTaps a UI element by its number from the latest annotated screenshot, avoiding coordinate calculations. Re-capture after UI changes to keep numbers valid.
Instructions
Tap element #N from the most recent screenshot { annotate: true } capture — no coordinate math needed. The mapping is exact even if your client displays the image scaled. Re-capture after the UI changes: element numbers go stale.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | Device serial (defaults to session or the only device) | |
| element | Yes | Element number from the annotated screenshot |