tap_element
Locate an Android UI element by text, resource ID, or content description, then tap its center. Use index to choose among matches; returns the element and tap point.
Instructions
Find an element (by text/resource_id/content_desc) and tap its center.
index selects among multiple matches. Returns the matched element + tap point.
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": "tap_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| exact | No | ||
| index | No | ||
| serial | No | ||
| resource_id | No | ||
| content_desc | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||