tap
Tap a UI element using reference or x,y coordinates, with optional automatic screen snapshot after each tap.
Instructions
Tap by ref (gNtM) or x,y. Default resnapshot=true returns new screen_snapshot in result.snapshot. Set resnapshot=false only when chaining many acts then one snapshot.
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 | ||
| y | No | ||
| ref | No | e.g. g2t3 from latest snapshot | |
| resnapshot | No | Default true: auto screen_snapshot after tap |