lsp_type_hierarchy
Analyze class and interface inheritance hierarchies to understand supertypes and subtypes for code navigation and refactoring planning.
Instructions
Get the type hierarchy for a class/interface - supertypes (parents, interfaces) and subtypes (children, implementations). Use for understanding inheritance and planning refactoring that affects class hierarchies.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute path to the source file | |
| line | Yes | Line number (1-indexed) | |
| column | Yes | Column number (1-indexed) | |
| direction | No | Direction of type hierarchy: supertypes (parents), subtypes (children), or both | both |