gograph_focus
Extract a comprehensive structural summary of a Go package to orient before editing. Shows all files, symbols, call edges, and imports.
Instructions
Extract a comprehensive structural summary of one Go package: all files, defined symbols, internal call edges, and package-level imports. Requires .gograph/graph.json — run gograph build . first. Read-only; no side effects. WHEN TO USE: When orienting to an unfamiliar package before editing it — provides a full map of what the package contains and how it connects to the rest of the codebase. NOT TO USE: For a single symbol's details (use gograph_context or gograph_source); for global keyword searches (use gograph_query). RETURNS: All files, symbol names, call edges, and import paths within the package; empty when the package is not found.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package | Yes | The package path or name to focus on (e.g., 'internal/auth') |