Have Codex review code
codex_reviewReview code changes with Codex for a second opinion before shipping. Get read-only findings on uncommitted work or a Codex task's output, then poll or extend the review.
Instructions
Ask Codex to review changes and report findings. Use it on YOUR OWN work for a second opinion before you ship, or on a Codex task's output with a different model. Codex reviews read-only and changes nothing. Returns a review task you can poll or extend with codex_continue.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Codex model to review with (see codex_get_models). | |
| branch | No | Base branch, for target "baseBranch". | |
| commit | No | Commit sha, for target "commit". | |
| target | No | What to review. Default: uncommittedChanges. | |
| taskId | No | Review the work of this Codex task, in its own directory or worktree. Combine with a different model for a cross-model second opinion. | |
| waitSeconds | No | How long to block before returning a pollable taskId. | |
| instructions | No | What to focus on. Required for target "custom"; otherwise added as extra guidance for the reviewer. | |
| reasoningEffort | No | Reasoning effort for the review. | |
| workingDirectory | No | Absolute path to review in. Required unless taskId is given. |