save-ui-hierarchy
Save mobile app UI hierarchy XML to a file for analysis and debugging in Appium automation workflows.
Instructions
Save UI hierarchy XML to a file
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"xmlSource": "<xmlSource>",
"filePath": "<filePath>"
},
"name": "save-ui-hierarchy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xmlSource | Yes | XML source to save | |
| filePath | Yes | Path to save the XML file |