feat: Add codegraph_explore tool for comprehensive single-call code exploration

Introduces a new MCP tool that performs deep code exploration in a single call, returning comprehensive context with full source code sections grouped by file and relationship mapping. Designed to replace multiple codegraph_node + file read operations for thorough understanding of code topics. Updates documentation to position explore as the primary tool for deep exploration questions.
This commit is contained in:
Colby McHenry
2026-04-03 16:35:27 -05:00
parent 4af51f565b
commit b927492bc0
3 changed files with 281 additions and 4 deletions
+2 -1
View File
@@ -132,8 +132,9 @@ Use these tools **directly in the main session** for fast code exploration (repl
| Tool | Use For |
|------|---------|
| `codegraph_explore` | **Deep exploration** — comprehensive context for a topic in ONE call |
| `codegraph_context` | Quick context for a task (lighter than explore) |
| `codegraph_search` | Find symbols by name (functions, classes, types) |
| `codegraph_context` | Get relevant code context for a task |
| `codegraph_callers` | Find what calls a function |
| `codegraph_callees` | Find what a function calls |
| `codegraph_impact` | See what's affected by changing a symbol |