Tap
tap_screenTaps a target by ref, selector, or x/y coordinates; set count for double taps or holdMs for long presses, then returns the updated screen.
Instructions
Tap a target in place: ref, selector or x,y. count: 2 is a double tap; holdMs: a long press. A moving finger: swipe_screen; a system alert: answer_alert. Returns the screen after. Several matches refuse, listing refs; no match waits briefly, then refuses with the nearest labels.
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_screen"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| ref | No | ||
| read | No | ||
| count | No | ||
| holdMs | No | ||
| selector | No |