framework_nodes
Identify critical hub modules in Swift codebases by combining structural importance (SIR) and connectivity, returning a ranked list of framework nodes.
Instructions
Identify framework-like (hub) modules using SIR + module connectivity.
A "framework node" is a module that is both:
Structurally important (high SIR/PageRank — central to the graph)
Highly connected (calls/imports many modules — orchestrator/hub role)
Framework score = 0.6 × normalized SIR + 0.4 × normalized connectivity, both auto-computed on first call. High-scoring modules are critical hubs: architecturally central AND complex in their interactions.
:param top: Number of top framework-like modules to return (default 20). :return: Markdown-formatted ranking table of framework nodes.
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": "framework_nodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |