find_long_functions
Analyze Python code to identify functions exceeding a configurable line threshold, helping you find candidates for extraction and refactoring.
Instructions
Find functions that are candidates for extraction
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": {
"content": "<content>"
},
"name": "find_long_functions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | Python file content to analyze | |
| line_threshold | No | Minimum lines to consider a function long (default: 20) |