tap_screen
Simulate touch interactions on Android devices by tapping specific screen coordinates, enabling automated testing and remote control through ADB commands.
Instructions
A tap gesture at the given pixel coordinates on the Android screen.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | X coordinate in screen pixels | |
| y | Yes | Y coordinate in screen pixels | |
| device_serial | No | Android device serial (e.g. 'emulator-5554' or '192.168.1.10:5555'). Omit only when a single device is connected. If the tool returns a multi-device error: STOP. Present the device list to the user verbatim and wait for their explicit choice. Do NOT retry with a guessed or inferred serial — this is a hard requirement. Once the user provides a serial, use it for every subsequent call in this session. To switch devices mid-session, ask the user first. |