Navigation Tree
navtreeRetrieve the complete hierarchical structure of a TypeScript file, including all classes, functions, variables, interfaces, type aliases, and enums with their nesting, kinds, names, spans, and child items.
Instructions
Get the complete hierarchical structure of a file — all classes, functions, variables, interfaces, type aliases, enums, and their nesting. Returns kind, name, spans, and child items for every declaration.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | File path (absolute or relative to cwd) |