codegraph_explore
Explore related symbols and line-numbered source grouped by file to understand architecture, flows, and answer broad code questions in a project.
Instructions
Explore related symbols and line-numbered source grouped by file. Best first tool for architecture, flows, and broad code questions.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "codegraph_explore"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Specific symbols, files, or code terms to explore. | |
| maxFiles | No | ||
| projectPath | No | Absolute path to the target project or worktree. Pi fills this with the active cwd when omitted; OMP child agents should pass their exact worktree path. |