gograph_path
Find a ranked call chain between two non-adjacent Go symbols to confirm reachability, prioritizing exact, shorter, production, and typed paths with deterministic tie-breaking.
Instructions
Find the best call chain from one symbol to another. Competing paths rank exact before possible, then shorter, production before tests, typed resolution before heuristics, with a deterministic canonical tie-breaker. WHEN TO USE: To confirm reachability between non-adjacent symbols. NOT TO USE: For all transitive upstream callers (use gograph_impact). RETURNS: from, to, found, and steps[]; with mermaid=true, Mermaid flowchart text.
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": {
"from": "<from>",
"to": "<to>"
},
"name": "gograph_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | The target symbol name | |
| from | Yes | The starting symbol name | |
| root | No | Absolute path of your checkout or worktree (alias cwd). | |
| mermaid | No | Return Mermaid flowchart text instead of structured JSON | |
| intention | No | Rationale; required with an active session. | |
| session_id | No | Session from session_create; omit for none. |