gograph_explore
Explore a Go symbol or lexical term in one bounded, read-only call, returning ranked matches, source, callers/callees, tests, and impact for code navigation.
Instructions
Explore a lexical term or Go symbol in one bounded call. Standard mode combines ranked matches with selected-symbol source, direct callers/callees, tests, and exact impact. compact=true returns discovery, selected-node metadata, role, complete counts, and explicit omitted_sections while suppressing token-heavy bodies (default limit 5). deep=true retains standard evidence and adds bounded depth-3 exact identity callers/callees, package context, and explanation (default limit 25). compact and deep are mutually exclusive; an explicit limit overrides their defaults. Possible dispatch is excluded from bundled identity impact and deep traversals. The MCP server refreshes source analysis before the call. Read-only; no persistent side effects. Question-like text is lexical, not model-interpreted. Focused tools remain authoritative for complete output. RETURNS: shared gograph.explore.v1 with mode, selection_basis, ambiguity, totals, truncation, and omission metadata.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deep | No | Expanded response: standard evidence plus bounded depth-3 exact callers/callees, package context, and explanation; mutually exclusive with compact | |
| exact | No | Require exact resolution for selected-symbol context; broad lexical matches remain visible | |
| limit | No | Maximum rows returned per section, clamped to 1-100; defaults to 5 compact, 10 standard, or 25 deep | |
| query | Yes | A symbol, fully-qualified ID, lexical feature term, or short question-like phrase to explore | |
| compact | No | Low-token response: matches, selected node/role, complete counts, and explicit omissions; mutually exclusive with deep |