gograph_public
List all exported functions, types, interfaces, and variables of a Go package. Useful for reviewing a package’s public contract.
Instructions
List all exported (public) symbols of a specific package: functions, types, interfaces, and variables. Requires .gograph/graph.json — run gograph build . first. Read-only; no side effects. WHEN TO USE: When reviewing a package's public contract before changing it, building integration documentation, or checking what a package exposes to callers. NOT TO USE: For unexported/private symbols (use gograph_node or gograph_focus); for API drift detection against a baseline (use gograph_api). RETURNS: List of exported symbol names with kinds and file locations; empty when the package has no exports or is not found.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package | Yes | The package name or path to inspect (e.g., 'internal/auth') |