get_type_hierarchy
Retrieve the inheritance tree of a TypeScript class or interface, including all ancestors and descendants, to analyze class relationships.
Instructions
Walk TypeScript class/interface hierarchy: ancestors (what it extends/implements) and descendants (what extends/implements it). Use to understand inheritance trees. For a flat list of implementations only use get_implementations instead. Read-only. Returns JSON: { name, ancestors: [...], descendants: [...] }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Class or interface name (e.g. "LanguagePlugin", "Store") | |
| max_depth | No | Max traversal depth (default 10) |