Get a file's direct import relationships
get_file_dependenciesIdentify a file's direct imports and its dependents to assess impact in one hop.
Instructions
Show what a file imports, and what imports that file, directly (one hop).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Relative file path as it appears in the graph, e.g. 'src/userService.ts' | |
| graph_path | No | Path to a previously saved graph (default: .codegraph/graph.json) |