get-element-tree
Retrieve a hierarchical view of mobile app UI elements for automation testing and debugging. This tool provides structured element data to identify and interact with components during mobile app development.
Instructions
Get a hierarchical view of the UI elements (similar to Appium Inspector)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get-element-tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxDepth | No | Maximum depth to traverse in the element tree (default: 5) |