review_code
Analyze code quality and security by submitting code for automated review using Codex and Gemini CLIs to receive structured feedback on best practices and improvements.
Instructions
Request a code review from Codex and Gemini CLIs. Provide code directly as a string. Returns feedback from both reviewers for Claude to consider.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
code | Yes | The code to review | |
context | No | Additional context about the code (optional) | |
reviewers | No | Which reviewers to use (default: both) |
Input Schema (JSON Schema)
{
"properties": {
"code": {
"description": "The code to review",
"type": "string"
},
"context": {
"description": "Additional context about the code (optional)",
"type": "string"
},
"reviewers": {
"description": "Which reviewers to use (default: both)",
"items": {
"enum": [
"codex",
"gemini",
"both"
],
"type": "string"
},
"type": "array"
}
},
"required": [
"code"
],
"type": "object"
}