suggest_improvements
Analyzes code and returns actionable recommendations to boost readability, maintainability, and performance, with optional focus areas for targeted review.
Instructions
Code Reviewer suggests improvements for readability, maintainability, and performance
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": {
"code": "<code>"
},
"name": "suggest_improvements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The code to review for improvements (min 10 characters) | |
| focus_areas | No | Specific areas to focus on (e.g., 'performance, readability') | |
| performance_critical | No | Whether performance is critical for this code |