Start local Codex turn
start_codex_turnLaunch a background Codex task and receive thread and step IDs instantly, then poll for status updates.
Instructions
Start a persistent app-server turn and return its IDs immediately.
Omit thread_id to create a new local Codex thread. Poll with get_codex_turn_status; the turn continues after this MCP call returns. This is a high-privilege entry point and may access paths outside the structured tool root.
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": "start_codex_turn"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| effort | No | ||
| prompt | Yes | ||
| attempt | No | ||
| project | No | ||
| step_id | No | ||
| thread_id | No | ||
| workflow_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |