gograph_query
Search a Go codebase for symbols, packages, files, or imports by keyword, enabling initial exploration and discovery.
Instructions
Search the Go repository for symbols, packages, files, or imports using a keyword term. 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 during the initial exploration phase when you have a keyword or feature name but do not know which files or packages contain the relevant code. Do NOT use if you already know the exact symbol name (use gograph_source or gograph_node instead). COMPLETENESS: Returns a structured list of matching symbols, files, and imports, along with their location and kind. Example: 'Graph', 'Serve'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| term | Yes | The keyword search term to locate in symbols, files, and imports (e.g., 'AuthService', 'token', 'router') |