tap_screen
Tap the screen at given x and y pixel coordinates to mimic a user touch. Obtain coordinates via screenshot and UI dump tools.
Instructions
Tap the screen at specific coordinates.
Use take_screenshot + dump_ui first to find the right coordinates.
Args: x: X coordinate (pixels from left) y: Y coordinate (pixels from top)
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_screen"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |