sqo_code_hotspots
Sync an incremental mtime-cached SQLite code graph to identify bug-prone hotspots and unreferenced orphan modules ranked by cyclomatic complexity and import fan-in.
Instructions
Sync incremental mtime-cached SQLite code graph (<10ms warm) and return top Cyclomatic Complexity x Import Fan-In bug hotspots plus unreferenced orphan modules.
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": {
"workspace": "<workspace>"
},
"name": "sqo_code_hotspots"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_k | No | Number of top hotspots to return (default: 10). | |
| workspace | Yes | Workspace root path. |