Diagnose hotspots (composite)
codetopo_diagnose_hotspotRank code symbols by fan-in/out, blast radius, complexity, or centrality to find hotspots; report each one's neighborhood, external references, unresolved links, and index diagnostics.
Instructions
A composite over the atomic tools: the top-ranked symbols by the chosen measure, each with its blast-radius size, neighborhood size (depth 1), and the unresolved/external references touching it, plus the index-level diagnostics summary. Every number is an atomic query's output - the composite orchestrates and presents, it does not measure. What the graph could not resolve is stated per hotspot, never hidden.
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": {
"db_path": "<db_path>"
},
"name": "codetopo_diagnose_hotspot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | Metric to rank by: fan_in, fan_out, blast_radius (default), complexity, pagerank, betweenness, closeness, eigenvector, or katz. | |
| limit | No | Maximum hotspots to return. Default 20. | |
| db_path | Yes | Path to the index database. |