Native Code Review
reviewReview uncommitted changes, base branch diffs, or single commits using Codex's native diff-aware analysis. Specify a git repository and diff mode.
Instructions
Run Codex CLI's native diff-aware review via codex exec review --json. The bridge does not accept or bundle a review prompt; upstream Codex owns the reviewer instructions.
Use for MCP clients that cannot run shell commands but need native Codex review of uncommitted changes, a base branch diff, or a single commit.
Tips:
Set workingDirectory to the target git repository.
Choose mode "uncommitted", "base", or "commit".
Use the codex tool with sandbox "read-only" for free-form review prompts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | Base branch or ref. Required when mode is "base". | |
| mode | Yes | Diff selector: uncommitted changes, changes against a base branch, or one commit | |
| model | No | Model to use (e.g. o3, gpt-4.1) | |
| title | No | Optional commit title to display in the review summary | |
| commit | No | Commit SHA or ref. Required when mode is "commit". | |
| timeout | No | Timeout in milliseconds (default: 180000, max: 600000) | |
| workingDirectory | Yes | Target git repository directory for native review |