review
Run a code review on repository changes using Codex CLI. Supports base branches, commit SHAs, and working tree changes with optional custom instructions.
Instructions
Run a code review against the current repository using Codex CLI
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "review"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | No | Custom review instructions or focus areas (cannot be used with uncommitted=true; use base/commit review instead) | |
| uncommitted | No | Review staged, unstaged, and untracked changes (working tree) - cannot be combined with custom prompt | |
| base | No | Review changes against a specific base branch (e.g., "main", "develop") | |
| commit | No | Review the changes introduced by a specific commit SHA | |
| title | No | Optional title to display in the review summary | |
| model | No | Specify which model to use for the review (defaults to gpt-5.3-codex) | |
| workingDirectory | No | Working directory to run the review in (passed via -C as a global Codex option) |