tap_xy
Tap a mobile screen at raw x,y coordinates to simulate user taps in UI tests. Use when a precise screen position needs interaction, not an element selector.
Instructions
Tap at raw screen coordinates (x, y). To tap an element by selector, use the 'tap' tool.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"x": "<x>",
"y": "<y>"
},
"name": "tap_xy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | X coordinate to tap | |
| y | Yes | Y coordinate to tap | |
| device_id | No | Target device ID. If omitted, uses the default device. |