tap
Simulates a touch at given screen coordinates (pixels, origin top-left) to interact with UI elements. Read coordinates from get_screen_state bounds for precise targeting.
Instructions
Taps at the given screen coordinates (pixels, 0,0 = top-left). Read coordinates from get_screen_state bounds. Prefer tap_element when you have a node's bounds: it picks the point randomly inside the element.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | X coordinate in pixels. | |
| y | Yes | Y coordinate in pixels. | |
| verify | No | 复查屏幕树确认变更生效 (default true). | |
| verify_poll_ms | No | 轮询树的时间间隔毫秒 (default 300). | |
| verify_timeout_ms | No | 等待变更生效的超时毫秒 (default 3000). |