get_import_graph
Analyze file dependencies by visualizing what imports a file uses and what other files import it, enabling impact analysis and refactoring decisions.
Instructions
Show file-level dependency graph: what a file imports and what imports it (requires reindex for ESM edge resolution)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Relative file path to analyze (e.g. "src/server.ts") |