dependency_graph
Trace dependencies with a returned graph of import and imported-by relationships for a module, controlling traversal direction and depth.
Instructions
Return import/dependency relationships for a module. direction: "imports" | "imported_by" | "both". depth: transitive traversal depth (1 = direct only).
repo_path: optional absolute path to the target repository.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | ||
| module | Yes | ||
| direction | No | both | |
| repo_path | No |