hierarchy_tree
Retrieve a knowledge graph's hierarchy as nested JSON. Provide a root entity to return only its subtree, or omit it to list all root entities.
Instructions
v12.5.0 — Hierarchy tree as nested JSON. With an explicit root, returns just that subtree; without, returns all root entities. Useful for visualising parent/child structure.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | No | Root entity name. Omit to return all root entities. |