ui_capture
Captures an allowlisted iOS app's UI as a summary, screenshot, or both with automatic session reuse. Returns a snapshot_id for paging through detailed view hierarchies.
Instructions
One-call allowlisted app capture with automatic session reuse/attach. Required mode=summary, screenshot or both; screenshots and text require explicit selection. Summary returns snapshot_id for paging.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| depth | No | ||
| limit | No | ||
| fields | No | ||
| format | No | summary | |
| offset | No | ||
| bundle_id | Yes | ||
| device_id | Yes | ||
| max_nodes | No | ||
| window_id | No | ||
| include_text | No | ||
| root_view_id | No | ||
| visible_only | No | ||
| controls_only | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No | ||
| elapsed_ms | Yes | ||
| request_id | Yes |