Dispatch L2 Blocking / Double-Blind Review to Codex
codex_reviewRun independent L2 red-line or double-blind reviews of code, documents, and RFCs via Codex CLI, including file-scoped reviews outside git repositories.
Instructions
Run independent L2 red-line review or double-blind code/document/RFC review via Codex CLI (GPT 6.2-sol). Set blind_mode=true for strict double-blind review (pass only objective target/background, never orchestrator findings or bias). Use scope="files" + target_paths to blind-review specific files, docs, or RFCs even outside git repos. Auto-detaches before MCP timeout with wait_cmd.
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": "codex_review"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| async | No | If true, return immediately with run_id and wait_cmd for reactive wakeup via run_command. | |
| scope | No | Diff or file scope to review (default uncommitted; use files for non-git or doc/RFC reviews). | |
| title | No | Short task title shown in the AI Hub dashboard. | |
| prompt | No | Objective review scope/background (when blind_mode=true, NEVER include orchestrator findings, suspicions, or draft conclusions). | |
| workdir | No | Absolute working directory path. | |
| high_risk | No | Set true for money/auth/external-messaging/core-DB paths to use xhigh reasoning effort. | |
| blind_mode | No | True to run strict double-blind independent review isolated from orchestrator review. | |
| commit_sha | No | Commit SHA when scope=commit. | |
| base_branch | No | Base branch name when scope=base. | |
| timeout_sec | No | Timeout in seconds (default 600). | |
| target_paths | No | Optional list of file or directory paths to review in read-only mode (automatically enables file review mode). | |
| soft_wait_sec | No | Max seconds to wait synchronously before auto-detaching (default 25, max 120, 0 = immediate async). |