find_high_fan_out
Identify files that import many in-repo modules to assess coupling risk and prioritize refactors where changes may ripple through more of the codebase.
Instructions
List files that import many other in-repo files. High fan-out indicates coupling risk — changing a high-fan-out file ripples through more of the codebase.
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": {
"repo_path": "<repo_path>"
},
"name": "find_high_fan_out"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| repo_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||