review_code
Automatically review your code by checking syntax, explaining its logic, and providing improvement suggestions.
Instructions
Provides an automated code review including syntax check, explanation, and suggestions.
Args: code_snippet: The code snippet string to review.
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_snippet": "<code_snippet>"
},
"name": "review_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code_snippet | Yes |