Tap UI Element by Text
adb_tap_textSearches for a UI element by text, ID, or content description using regex partial match and taps its center point.
Instructions
Find UI element by text/ID/content-desc and tap its center. Regex partial match.
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": "adb_tap_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to search for (case-insensitive partial match) | |
| type | No | Match type | text |
| wait_ms | No | Wait time before tap in ms |