verify_element
Check whether a semantic element (by text, description, or ID) exists on the current Android screen, returning true/false for branching logic without errors.
Instructions
Assert whether a semantic target exists on the current screen.
Structured boolean result — never raises for not-found or a text mismatch, so the model can branch on it directly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | ADB serial; omit with a single connected device. | |
| target | Yes | {"by": "text"|"desc"|"id", "value": str} — the element to check. | |
| text_predicate | No | optional substring the element label must contain. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||