smell_detect_long_methods
Scan a project directory to identify methods and functions exceeding a configurable line limit, highlighting code that should be broken down for maintainability.
Instructions
Find methods and functions that are too long and should be broken down
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": {
"directory": "<directory>"
},
"name": "smell_detect_long_methods"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | API key for Pro/Enterprise | |
| directory | Yes | Project directory to scan | |
| max_lines | No | Maximum lines before flagging a function |