locate_bug_tool
Locate files likely responsible for a bug from a repo and bug description. Returns a HOT/WARM/COLD heatmap with evidence and verification notes for prioritized reading.
Instructions
Locate the files most likely responsible for a bug, via a stigmergic ant-swarm search over the repo. Returns a markdown HOT/WARM/COLD heatmap with per-file evidence and, for HOT files, adversarial verification notes. This is a suggestion to prioritize reading, not a verdict -- always read the flagged files yourself before concluding.
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_path": "<repo_path>",
"bug_description": "<bug_description>"
},
"name": "locate_bug_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_path | Yes | ||
| stack_trace | No | ||
| bug_description | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |