review
Run Codex code analysis on git changes—uncommitted work, a branch against a base, or a single commit—and return prioritized findings with file:line references. Read-only.
Instructions
Run a Codex code review (codex review) on git changes: uncommitted work, a branch against a base, or a single commit. Returns prioritized findings with file:line references. Read-only.
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 |
|---|---|---|---|
| base | No | Review the current branch against this base branch | |
| model | No | Optional model ID, passed straight to Codex CLI (-m). Omit to use the default from ~/.codex/config.toml (recommended). Do not guess IDs: call the list-models tool to see the models this Codex install offers. | |
| title | No | Optional title shown in the review summary | |
| commit | No | Review the changes introduced by this commit SHA | |
| prompt | No | Custom review instructions. Codex CLI only accepts this when uncommitted/base/commit are NOT set. | |
| timeout | No | Maximum execution time in milliseconds. Default: CODEX_MCP_TIMEOUT_MS env var, else 600000 (10 min). | |
| workingDir | No | Git repository to review. Defaults to CODEX_MCP_CWD / the client working directory. | |
| uncommitted | No | Review staged, unstaged and untracked changes in the working directory | |
| reasoningEffort | No | Optional reasoning effort (model_reasoning_effort). Common values: low, medium, high, xhigh, max; some models also take none, minimal or ultra. Support varies per model: list-models shows the levels each model accepts. Omit to use the model/config default. |