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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Number of files to return (default: 10, max: 100) |