review-code
Analyzes source code for quality, performance, security, and maintainability issues, helping developers find problems and improve code before release.
Instructions
Reviews code for quality, performance, security, and maintainability issues
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": "review-code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The code to review | |
| focus | No | Focus area for the review | all |
| model | No | Optional model to use (e.g., 'qwen-turbo'). If not specified, uses the default model (qwen-plus). | |
| language | No | Programming language of the code (e.g., 'python', 'javascript', 'java', 'cpp'). If not specified, Qwen will try to detect it. | |
| styleGuide | No | Specific style guide to follow (e.g., 'PEP8', 'Google JavaScript Style Guide') |