analyze_python_file
Analyzes Python files to identify refactoring opportunities and provides precise guidance for improving code structure and readability.
Instructions
Analyze Python file for refactoring opportunities with precise guidance
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": "analyze_python_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | Python file content to analyze | |
| file_path | No | Path to Python file to analyze |