analyze_code_complexity
Measure cyclomatic complexity across a codebase using quick (100-file) or deep (1000-file) scans to identify high-risk functions and prioritize refactoring.
Instructions
Analyze cyclomatic complexity. mode='quick' (100 files) or 'deep' (1000).
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": "analyze_code_complexity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | quick | |
| target_path | No | . |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |