get_inspector_selection
Retrieve React component hierarchy by tapping coordinates or reading current Element Inspector selection in React Native apps.
Instructions
Get the React component at coordinates or read the current Element Inspector selection. If x/y provided: auto-enables inspector, taps at coordinates, returns component hierarchy. If no coordinates: returns current selection. Works in all React Native versions including Fabric.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | X coordinate (in points). If provided with y, auto-taps at this location. | |
| y | No | Y coordinate (in points). If provided with x, auto-taps at this location. |