get_most_coupled
Identify files with the highest combined in-degree and out-degree, highlighting refactoring candidates with strong coupling dependencies.
Instructions
Returns the most highly coupled files (highest combined in-degree + out-degree). High coupling signals refactoring candidates. Files with many consumers (high in-degree) are risky to change; files with many imports (high out-degree) have broad dependencies. Requires a prior reindex. No API call needed.
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": "get_most_coupled"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Number of files to return (default: 10, max: 100) |