wpf_get_visual_tree
Retrieve and navigate the visual tree of a WPF application. Start from a specific element and control depth to inspect UI hierarchy.
Instructions
Get the visual tree hierarchy. Use root_handle to start from a specific element (from wpf_find_elements). Use max_depth to control depth (1-100, default 25). For deep UIs like AvalonDock, increase max_depth or use root_handle to zoom into a subtree.
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": "wpf_get_visual_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_depth | No | ||
| root_handle | No |