android_click_element
Locate and tap Android UI elements by visible text, content description, or resource ID.
Instructions
Find and click a UI element on the current Android screen by its visible text, content description, or resource ID. Computes the center of the element and executes a precise tap.
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": "android_click_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Visible text of the element to click | |
| deviceId | No | Optional device ID | |
| className | No | Class name of the element to click | |
| exactMatch | No | Whether text matching must be exact | |
| resourceId | No | Resource ID of the element to click | |
| contentDescription | No | Content description of the element to click |