from_trace
Identify the commit that introduced a bug by parsing a stack trace or crash log, blaming crashing lines in git history, and returning suspect code changes.
Instructions
RCA from a stack trace or crash log; no diff or PR needed.
Parses the stack trace, blames the crashing lines in git history, and returns the suspect set. Works for Python, JavaScript, Java, and Go stack traces.
Returns: {suspects: [...], frames: [{file, line, func}], skipped_frames: [...], notes: [...]}
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": {
"repo": "<repo>",
"trace_text": "<trace_text>"
},
"name": "from_trace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| head | No | ||
| repo | Yes | ||
| trace_text | Yes |