dependency_graph
Analyze import dependencies of a module in a repository, showing direct and transitive imports or dependents with customizable depth and direction.
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 |
|---|---|---|---|
| module | Yes | ||
| direction | No | both | |
| depth | No | ||
| repo_path | No |