codex_start
Delegates a coding task to Codex and opens its conversation immediately; poll or wait for a terminal status before reporting completion.
Instructions
Delegate a coding task to Codex and open its conversation. Returns immediately; MUST use codex_read/wait until a terminal status before reporting completion. One active turn per project. Uses the local Codex login.
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": {
"cwd": "<cwd>",
"prompt": "<prompt>",
"request_id": "<request_id>"
},
"name": "codex_start"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | Yes | Absolute project directory inside an allowed root | |
| model | No | Optional Codex model id; omit to use local settings | |
| title | No | Short conversation title | |
| prompt | Yes | Task or follow-up instructions. Include scope and acceptance criteria. | |
| sandbox | No | workspace-write | |
| request_id | Yes | Stable idempotency key. Reuse the SAME key and arguments when retrying. |