find_element
Locate Android UI elements by text, content description, or resource ID, returning bounds and tap centers for interaction.
Instructions
Find UI elements whose text, content description or resource ID contains the given string (case-insensitive). Returns bounds and tap centers.
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": {
"query": "<query>"
},
"name": "find_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| serial | No | Device serial (e.g. emulator-5554). Optional when exactly one device is connected. |