chatgpt_review
Requests an adversarial review from ChatGPT on code, diffs, or snippets, targeting security, performance, or architecture.
Instructions
Requests an adversarial code review from ChatGPT on a git diff, file content, or code snippet with specialized focus.
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": {
"diff_or_code": "<diff_or_code>"
},
"name": "chatgpt_review"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| focus | No | Review focus area: security, performance, architecture, or thorough. Default is thorough. | thorough |
| model | No | Model to use for review (default: o3-mini). | o3-mini |
| diff_or_code | Yes | The code snippet or git diff to review. | |
| instructions | No | Specific review instructions or questions. |