tap
Clicks the on-screen element whose label contains given text; refuses ambiguous matches by listing candidates, or selects first match when allowed.
Instructions
Tap the on-screen element whose label contains label.
Refuses an ambiguous label and lists the candidates, because a silent wrong tap navigates somewhere unexpected. Pass first=True to take the first match.
Returns the resolved label and coordinates actually tapped.
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": {
"label": "<label>"
},
"name": "tap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| first | No | ||
| label | Yes | ||
| device | No |