type_hierarchy
Analyze class and interface inheritance relationships by displaying supertypes and subtypes for code at a specific position.
Instructions
Show type hierarchy for a type at a position. Returns supertypes (parent classes/interfaces), subtypes (subclasses/implementations), or both depending on the direction parameter. Direction defaults to "both". Use this to understand class and interface inheritance relationships.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| language_id | No | ||
| line | Yes | ||
| column | Yes | ||
| direction | No |