tap_text
Taps a UI element by its visible text or resource-id, optionally exact match and index selection, to automate Android screen interactions.
Instructions
Find an element by its visible text (or resource-id) and tap its centre.
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 |
|---|---|---|---|
| text | Yes | Visible text or content-desc | |
| exact | No | Exact text match | |
| index | No | Which match to tap when several exist (0-based) | |
| resource_id | No | Optional resource-id filter |