traceType
Trace the origin and composition of a TypeScript type at a specific file location, revealing its inheritance and construction path.
Instructions
Trace where a type comes from and how it is composed
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| col | No | Column number (1-indexed), overrides :col in file | |
| file | Yes | File path with optional :line:col suffix (e.g., "src/user.ts:10:5") | |
| line | No | Line number (1-indexed), overrides :line in file | |
| depth | No | How deep to trace type composition | |
| content | No | File content for virtual/unsaved files | |
| projectRoot | No | Project root directory |