type_hierarchy
Fetch a type's hierarchy at a position to see supertypes, subtypes, or both. Clarifies class and interface inheritance relationships in code.
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 |
|---|---|---|---|
| line | Yes | ||
| column | Yes | ||
| direction | No | ||
| file_path | Yes | ||
| language_id | No |