ui_find
Find on-screen elements by selector and optionally wait up to a timeout for a match, enabling reliable UI interaction in Android app automation.
Instructions
Find elements on screen matching a selector (optionally wait up to timeout seconds).
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": "ui_find"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rid | No | Resource id. | |
| desc | No | Exact content description. | |
| text | No | Exact text. | |
| timeout | No | Seconds to wait for at least one match. | |
| label_re | No | Regex on text or description. | |
| desc_contains | No | Substring of the content description. | |
| text_contains | No | Substring of the text. |