tap_text
Tap an Android screen element by matching its visible label, replacing separate observe-and-index steps. Use when the target text is known.
Instructions
Tap the element whose label contains text. One call instead of observe, read index, tap.
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": {
"text": "<text>"
},
"name": "tap_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nth | No | which match to tap when several, starting at 0 | |
| text | Yes | visible label to tap, case-insensitive, partial match | |
| confirm | No | true only if the user asked for this buy/pay/send/delete action |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |