Dispatch Backend Planning to Codex
codex_plan_backendDispatch read-only backend architecture and implementation planning to local Codex CLI, with optional blind mode for unbiased proposals. Auto-detach before MCP timeout and resume via wait command.
Instructions
Dispatch a read-only backend architecture/implementation planning task to the local Codex CLI (GPT 6.2-sol) using --sandbox read-only. Set blind_mode=true for independent double-blind planning from the user original words (no orchestrator draft/bias). Auto-detaches before MCP timeout with wait_cmd for reactive wakeup.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"prompt": "<prompt>"
},
"name": "codex_plan_backend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| async | No | If true, return immediately with run_id and wait_cmd for reactive wakeup via run_command. | |
| title | No | Short task title shown in the AI Hub dashboard. | |
| prompt | Yes | Backend requirement and planning instructions (original user requirement when blind_mode=true). | |
| workdir | No | Absolute working directory path. | |
| blind_mode | No | True to run an independent double-blind proposal without orchestrator draft bias. | |
| timeout_sec | No | Timeout in seconds (default 600). | |
| contract_path | No | Optional path to shared API contract file. | |
| soft_wait_sec | No | Max seconds to wait synchronously before auto-detaching (default 25, max 120, 0 = immediate async). | |
| resume_session_id | No | Optional previous Codex thread_id to continue planning. |