suggest_refactoring
Analyze code files to propose refactoring options with tradeoffs and safer alternatives for improved code quality and maintainability.
Instructions
Suggest refactors with tradeoffs and safer alternatives.
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": {
"path": "<path>"
},
"name": "suggest_refactoring"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File to analyze for refactoring |