Tap
tapTap the Android screen at exact pixel coordinates from snapshot_ui, or use percentages (0-1) for approximate positions.
Instructions
Tap the screen. Coordinates from snapshot_ui are exact device pixels — prefer them over estimating positions by looking at a screenshot image. Instead of pixels you can pass screen percentages (0-1): safer when estimating positions from a screenshot image.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "tap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | X in device pixels | |
| y | No | Y in device pixels | |
| xPct | No | X as fraction of screen width (0-1) | |
| yPct | No | Y as fraction of screen height (0-1) | |
| serial | No | Device serial (defaults to session or the only device) |