read_screen
List interactive controls currently on the Android screen, each with a number and label, to target taps or verify UI state. Optional text query filters results.
Instructions
List the controls currently on the phone's screen, by number and name.
This is the main way to see what is on screen, and it is far cheaper than a
screenshot. Each control gets a number you can hand to tap, and a label
you can match on.
Every action tool re-reads the screen before it acts, so both forms are resolved against the screen as it is at that moment. A number is precise -- it disambiguates two controls carrying the same text. A label is stable -- it survives the screen being redrawn. Use the number for a control you have just seen and are about to act on, and the label when the screen may have changed since you read it.
Args: query: Optional filter. Only controls whose text, description, or type contains this text are listed, best match first. Use it to ask "is the Send button up yet?" in one call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Only list controls whose text or description contains this. Omit to list everything on the screen. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |