gograph_callers
Identify all functions that call a given target function in Go codebases for impact analysis and call hierarchy tracing.
Instructions
Find and list all functions or methods that call the specified target function. BEHAVIOR & SAFETY: This is a 100% local, read-only static analysis tool. It has no side effects, requires no authorization or credentials, has no rate limits, and performs zero destructive modifications. USAGE GUIDELINES: Call this tool when performing impact analysis, tracing call hierarchies, or identifying who consumes a particular API. Do NOT use if you want downstream callees (use gograph_callees instead). COMPLETENESS: Requires 'function' parameter. Returns a structured list of calling function symbols and their exact file locations. Example function: 'BuildGraph'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| function | Yes | The name of the target function to find callers for (e.g., 'BuildGraph', 'Serve') |