find_long_functions
Lists functions and methods exceeding a configurable line-count threshold to flag scope creep and high complexity for refactoring.
Instructions
List functions and methods over a line-count threshold. Long functions are a proxy for scope creep and often correlate with high 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": {
"repo_path": "<repo_path>"
},
"name": "find_long_functions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| min_lines | No | ||
| repo_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||