analyze_complexity
Analyze code complexity to identify file-size distribution, high-complexity files, and slim findings in a Flutter project, helping developers target refactoring efforts where they matter most.
Instructions
Complexity view from a review_project session (or path). Returns file-size distribution, estimated high-complexity files, and slim findings. Prefer sessionId to avoid rescanning.
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_complexity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| limit | No | ||
| sessionId | No |