Lei Hierarchy Tree
lei_hierarchy_treeWalk the FULL corporate ownership hierarchy for an entity in one call: the ancestor chain from the entity up to its ultimate parent, plus a multi-level tree of subsidiaries below it (breadth-first over GLEIF Level 2 direct-child records, depth-limited, depth stated in the response). Accepts a 20-character LEI or a company NAME. Answers "everything this group ultimately controls" / "full subsidiary tree of Deutsche Bank" / "who is at the top of this entity's ownership chain", use get_lei_relationships instead when one hop (direct parent + direct children) is enough.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"lei": "INR2EJN1ERAN0W5ZP974",
"depth": 2
},
"name": "lei_hierarchy_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lei | Yes | 20-character LEI code OR a company name (resolved automatically, match echoed back). | |
| depth | No | How many generations of subsidiaries to descend: 1-4, default 2. The ancestor chain upward is always walked to the top regardless. |