tap
Taps a UI element by handle or device coordinates on an Android emulator or device, then waits for the screen to settle and returns the refreshed element list.
Instructions
Tap an element handle ("e7") or device coordinates ("540,1200").
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": {
"target": "<target>"
},
"name": "tap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | ||
| max_wait_ms | No | ||
| observe_after | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |