gograph_dependents
Find every package that imports a given Go package to assess impact before interface changes or removal. Optionally view the dependency graph as a Mermaid flowchart.
Instructions
Find all packages that import the named package (inverse of gograph_deps). The MCP server refreshes source analysis before the call. Read-only; no side effects. WHEN TO USE: Before a package-level interface change or removal. NOT TO USE: For a single function's callers (use gograph_callers). RETURNS: Dependent packages; with mermaid=true, Mermaid flowchart text.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mermaid | No | Return Mermaid flowchart text instead of the normal response | |
| package | Yes | The package to find dependents for (e.g., 'internal/auth', 'auth', or a full import path) |