analyze_complexity
Analyze code complexity by calculating cyclomatic, cognitive, and Halstead metrics to identify maintainability issues and optimization opportunities.
Instructions
복잡도|복잡한지|complexity|how complex|난이도 - Analyze code complexity
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": {
"code": "<code>"
},
"name": "analyze_complexity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Code to analyze | |
| metrics | No | Metrics to calculate |