gograph_context
Build a condensed diagnostic context of Go packages and symbols, summarizing exported APIs and type definitions to reduce token overhead for LLM analysis.
Instructions
Build a highly condensed diagnostic context file for a set of target Go packages or symbols. 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 to summarize multiple packages for LLM consumption, reducing token overhead. Do NOT use for deep line-by-line reading (use gograph_source instead). COMPLETENESS: Returns a compact text summary of package structures, exported APIs, and type definitions. Example package: 'internal/search'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | No | The exact name or ID of the symbol to retrieve context for. | |
| uncommitted | No | If true, return context for all uncommitted modified symbols bundled in one response. |