analyze_code_complexity
Analyze a GDScript file to report cyclomatic complexity, function count, and line count, helping you identify complex code and target refactoring.
Instructions
Analyze a GDScript file and report cyclomatic complexity, function count, line count, etc.
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": {
"script_path": "<script_path>"
},
"name": "analyze_code_complexity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script_path | Yes | res:// path to the script |