Rank symbols by a measurement
codetopo_rankRank code symbols by fan-in, fan-out, blast radius, complexity, or centrality measures to identify high-impact or highly connected code; non-converging measures are reported as absent.
Instructions
The top symbols by fan-in, fan-out, blast-radius size, cyclomatic complexity, or a centrality measure (pagerank, betweenness, closeness, eigenvector, katz) - measurements over the graph, with the measurement's method stated in the result. A measure that does not converge on the graph is reported as an absence with its reason, never a partial result. A ranking of measurements, never a score of code quality.
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_rank"
}
}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 entries to return. Default 20. | |
| db_path | Yes | Path to the index database. |