native-describe-screen
Reads the running app's native accessibility screen description, returning a flat list of leaf elements with frames and normalized coordinates for debugging the underlying native data.
Instructions
Read the running app's native accessibility screen description via injected native devtools.
Returns a flat list of accessibility leaf elements with:
raw native point-space frame and tapPoint
normalizedFrame and normalizedTapPoint relative to the app's main screen bounds
top-level screenFrame metadata
traits and optional labels/identifiers
This is a low-level native inspection tool. The normalized fields are intended to help with backend migration work, but the public describe contract is still separate.
Useful for evaluating or debugging the lower-level native data that powers the public describe tool.
If status is restart_required: call restart-app then retry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| udid | Yes | Simulator UDID | |
| bundleId | Yes | Bundle ID of the app | |
| skipClasses | No | Exact UIView class names whose entire subtree should be pruned (e.g. ["UIImageView"] to drop image-heavy branches) | |
| skipClassPrefixes | No | Class name prefixes to prune entire subtrees. For SwiftUI apps use ["_TtGC7SwiftUI"] to drop mangled SwiftUI generic type subtrees while keeping UIKit bridges. |