Tap element
tapElementFind an Android UI element by text, resource ID, or content description and tap its center coordinate to trigger the action.
Instructions
Find an element and tap its center coordinate.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "tapElement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| class | No | ||
| index | No | ||
| serial | No | ||
| resourceId | No | ||
| contentDesc | No | ||
| textContains | No | ||
| caseInsensitive | No | ||
| preferClickable | No | ||
| resourceIdContains | No | ||
| contentDescContains | No | ||
| normalizeWhitespace | No |