device_tap
Submit a tap at raw screen coordinates on a mobile device, with optional long press and screenshot verification.
Instructions
⚠️ Low-level: Tap at raw screen coordinates. Prefer tap_on_element for reliability. Use coordinates from the physical screenshot (originalWidth/originalHeight). On Android, this tool automatically scales coordinates if a display override (logical resolution) is detected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | X coordinate in original screen pixels | |
| y | Yes | Y coordinate in original screen pixels | |
| verify | No | If true, capture and return a screenshot right after the tap. | |
| deviceId | Yes | ||
| duration | No | Optional duration in ms. If > 0, performs a long press. | |
| platform | Yes |