godot_get_complexity
Calculate cyclomatic complexity for every function in a Godot GDScript file to identify complex code and guide refactoring.
Instructions
Calculate cyclomatic complexity for all functions in a file.
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": {
"file": "<file>"
},
"name": "godot_get_complexity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | File path to analyze |