type_hierarchy
Show a type's supertypes (implemented interfaces, embedded types) and subtypes (implementing or embedding types) to understand inheritance and polymorphism.
Instructions
Show the type hierarchy for a type: its supertypes (interfaces it implements, embedded types) and subtypes (types that implement or embed it). Useful for understanding inheritance and polymorphism.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | No | Absolute path, file:// URI, or workspace-relative path containing the type | |
| line | Yes | Zero-based line number of the type | |
| character | Yes | Zero-based character offset within the line | |
| direction | No | Which direction to traverse: parent types (supertypes), child types (subtypes), or both. Defaults to both. |