Display Tree
display_treeVisualize hierarchical data structures such as file systems or org charts with an interactive tree view that supports node expansion, metadata display, and export.
Instructions
Display an interactive tree view for hierarchical data structures. Use this tool to visualize file systems, organizational charts, nested categories, JSON/XML structures, or any hierarchical relationships. Supports node expansion/collapse, metadata display, and export functionality.
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": {
"nodes": "<nodes>"
},
"name": "display_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodes | Yes | Array of root tree nodes | |
| title | No | Optional title for the tree view | |
| expandAll | No | Expand all nodes initially | |
| showMetadata | No | Show metadata in tree nodes |