find_elements
Locate Android UI elements by text, resource ID, or content description. Returns element records with tap coordinates, supporting substring or exact matches.
Instructions
Find on-screen elements matching any of text / resource_id / content_desc. Substring match by default; exact=True requires a full match. Returns the same element records as dump_ui, each with a bounds.center for tapping.
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": "find_elements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| exact | No | ||
| serial | No | ||
| resource_id | No | ||
| content_desc | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |