circular_deps
Detect circular dependency chains in TypeScript projects. Specify source root, exclusions, and tsconfig to reveal problematic import cycles for refactoring.
Instructions
Find all circular dependency chains
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": {
"source_root": "<source_root>"
},
"name": "circular_deps"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exclude | No | Directories to exclude | |
| tsconfig | No | Path to tsconfig.json | |
| source_root | Yes | Source root directory to analyze | |
| exclude_patterns | No | Regex patterns to exclude files (e.g. "\.d\.ts$" to skip declaration files) |