gograph_trace
Trace an error string from its definition through the Go call chain to HTTP handlers after refreshing source analysis. Use this compatibility alias for the same structured errorflow output.
Instructions
Alias for gograph_errorflow. Refreshes in-memory source analysis, then traces an error string heuristically from its definition up through the call chain to HTTP handlers. WHEN TO USE: Prefer gograph_errorflow; this alias exists for compatibility. RETURNS: The same structured output as gograph_errorflow.
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": {
"term": "<term>"
},
"name": "gograph_trace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | No | Absolute path of your checkout or worktree (alias cwd). | |
| term | Yes | Error string or symbol name to trace (e.g. 'ErrNotFound', 'permission denied') | |
| no_tests | No | If true, skip collecting related test functions | |
| intention | No | Rationale; required with an active session. | |
| session_id | No | Session from session_create; omit for none. |