analyze_python_smells
Detects code smells in Python projects using static analysis and returns categorized JSON results with summaries.
Instructions
Python 프로젝트를 advanced_pyexamine으로 분석해 smell 결과를 JSON으로 반환한다. cli 모드는 로컬 python + advanced_pyexamine 설치가 필요한 개발용 도구다.
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": {
"projectPath": "<projectPath>"
},
"name": "analyze_python_smells"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| only | No | comma-separated detector names (ex: "long_method,data_clumps") | |
| projectPath | Yes | 분석 대상 Python project path | |
| summaryOnly | No | true이면 smellGroups 생략, summary만 반환 | |
| limitPerGroup | No | group당 최대 반환 항목 수 |