get_architecture
Summarize a Python repository's internal module dependencies from static imports to reveal core, leaf, dependent, and isolated modules and import cycles for change-impact analysis.
Instructions
Summarize the repo's internal module dependency structure from static imports.
Use to explain how the code fits together, or to judge the blast radius of a change. Returns core modules (most imported by other internal modules), leaf modules (imported but import nothing internal), the most dependent modules (most internal imports), a count of isolated modules, and import cycles (groups of modules that import each other, often a design smell). Test modules are excluded; dynamic imports are not seen.
Args: repo: "owner/name" or a github.com URL.
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": "<repo>"
},
"name": "get_architecture"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes |