Skip to main content
Glama

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
NameRequiredDescriptionDefault
xNoX coordinate (in points). If provided with y, auto-taps at this location.
yNoY coordinate (in points). If provided with x, auto-taps at this location.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/igorzheludkov/metro-logs-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server