find_suspects
Identify the commit most likely to have introduced a bug by analyzing a stack trace or comparing diffs. Returns weighted suspects with commit details to target root-cause analysis.
Instructions
Find the commits most likely to have introduced a bug.
Pass trace_text (a stack trace / crash log) to run RCA from a runtime error with no diff needed. Otherwise diffs base..head to find suspects.
Returns: {suspects: [{hash, short, author, date, subject, pr_number, weight, lines}], origin_on_branch: bool, 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>"
},
"name": "find_suspects"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | ||
| head | No | ||
| repo | Yes | ||
| trace_text | No |