inspect_component_tree
Retrieves the nested component hierarchy of an Ignition Perspective view, showing component types, names, child counts, and optional nesting depth for project inspection.
Instructions
Return the component hierarchy of a view.
Args: view_path: View to inspect. project: Project name; defaults to the active project. depth: Maximum nesting depth to return.
Returns: A nested tree of component type, name and child count.
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": {
"view_path": "<view_path>"
},
"name": "inspect_component_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | ||
| project | No | ||
| view_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||