ctx_dependents
Find every project file that imports a given file, including the imported symbols, to assess impact before changing or removing code.
Instructions
Return the inbound (reverse) dependency edges of a file as JSON: [{source, imported_symbol}] — the project files that import it and, where known, the symbol they import. Use to find every consumer of a file before changing or removing it. path is project-relative or absolute (traversal rejected). For the forward direction (what a file imports) use ctx_dependencies.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Project-relative or absolute file path. Paths outside the project root are rejected. Required. |