gograph_focus
Analyze a specific Go package to retrieve its files, symbols, call graph, and internal dependencies, providing context for understanding architecture before making edits.
Instructions
Extract targeted call-graph and dependency context for a single Go package. 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 you need to understand the architecture, files, internal calls, and dependencies of a specific package directory before making edits. Do NOT use for global searches (use gograph_query instead). COMPLETENESS: Requires 'package' parameter. Returns a detailed listing of all files, defined symbols, calls, and internal dependencies within the target package. Example package: 'internal/search'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package | Yes | The package path or name to focus on (e.g., 'internal/auth') |