Skip to main content
Glama

xcresult_get_ui_element

Extract detailed information about a specific UI element by its index from a JSON file containing a UI hierarchy. Use this tool to analyze UI elements and their properties within Xcode build automation workflows.

Instructions

Get full details of a specific UI element by index from a previously exported UI hierarchy JSON file

Input Schema

NameRequiredDescriptionDefault
element_indexYesIndex of the element to get details for (the "j" value from the slim hierarchy)
hierarchy_json_pathYesAbsolute path to the UI hierarchy JSON file (the full version saved by xcresult-get-ui-hierarchy)
include_childrenNoWhether to include children in the response. Defaults to false.

Input Schema (JSON Schema)

{ "properties": { "element_index": { "description": "Index of the element to get details for (the \"j\" value from the slim hierarchy)", "type": "number" }, "hierarchy_json_path": { "description": "Absolute path to the UI hierarchy JSON file (the full version saved by xcresult-get-ui-hierarchy)", "type": "string" }, "include_children": { "description": "Whether to include children in the response. Defaults to false.", "type": "boolean" } }, "required": [ "hierarchy_json_path", "element_index" ], "type": "object" }

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/lapfelix/XcodeMCP'

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