gograph_dependents
Identify all packages that depend on a specified package to assess impact of changes before removal or interface modification.
Instructions
Find all packages that import the named package (inverse of gograph_deps). The MCP server checks freshness before this call and refreshes in the current requested analysis mode; precise and precise_fallback graphs retry CHA/SSA after source changes. Read-only; no side effects. WHEN TO USE: Before a package-level interface change or removal — see every dependent package that will be affected. NOT TO USE: For a single function's callers (use gograph_callers); for the package's own outgoing imports (use gograph_deps). RETURNS: List of dependent package names and paths; empty when nothing imports the package (it may be a top-level entry point).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package | Yes | The package to find dependents for (e.g., 'internal/auth', 'auth', or a full import path) |