ios_screenshot
Capture the screen as an image, optionally annotating element refs, to inspect layouts, locate unlabeled elements, and choose visual targets for actions.
Instructions
Capture the screen as an image.
Use this when an element has no accessibility label, when the layout
matters, or when ios_observe cannot find something you can plainly
see. With annotate_refs each element is boxed and labelled with its
ref, so you can pick one by eye and pass it to an action tool.
Annotating re-reads the screen first, so the refs on the image are the
current ones rather than whatever was observed last. That costs a tree
fetch, and needs the vision extra installed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| annotate_refs | No | Draw labelled boxes over the elements, using fresh refs. |