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.
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": "hierarchy_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | No | Root entity name. Omit to return all root entities. |