hubs
Identify the most-connected functions in a subsystem by ranking fan-in and fan-out across the union call graph, including indirect calls, to locate central nodes without needing function names.
Instructions
The subsystem's spine: the N highest-degree functions over the UNION call graph (direct CALLS + indirect function-pointer / ops-struct / runtime dispatch), ranked by fan_in + fan_out — no name knowledge needed. Each row carries node_id + handle (file:line), fan_in/fan_out/degree, and entry-point flags (exported | dispatch_target | callback). Language-agnostic cold-start: start here to find what a subsystem is built around, THEN callers/callees/read_body to traverse.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "hubs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | ||
| limit | No | ||
| format | No | text (compact, default) | json (structured result page) | |
| offset | No |