gograph_orphans
Find unreachable functions and methods in a Go repository to identify dead code for cleanup.
Instructions
Find functions and methods that are unreachable from any entry point (main, HTTP routes, exported 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 when clean-up is needed or to locate dead code that should be purged from the repository. Do NOT use for checking specific symbol usages (use gograph_usages instead). COMPLETENESS: Returns a list of orphan symbols, their packages, and file definitions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||