review_code
Review code by having two AI models independently analyze it and then combine their findings into a unified report.
Instructions
Mutual code review on a code snippet. Claude and GPT-4o each review independently, then Claude synthesizes.
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 | Code snippet to review | |
| context | No | Optional context about the code | |
| filename | No | Optional filename for context | |
| language | No | Language hint (e.g. python) | |
| synthesize | No | Generate synthesis report (default true) |