codex_start_chat
Starts a new Codex chat synchronously for a given project and initial message. Prefer codex_submit_task for durable long-running tasks.
Instructions
Compatibility write for starting a new Codex chat. Prefer codex_submit_task with operation_type='start_chat' for durable long work. In client mode this delegates to the durable queue.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| message | Yes | ||
| title | No | ||
| cwd | No | ||
| model | No | ||
| sandbox | No | read-only | |
| approval_policy | No | on-request | |
| collaboration_mode | No | ||
| timeout_seconds | No | ||
| first_message_timeout_seconds | No | Deprecated and ignored. This tool now returns immediately after turn/start; use codex_get_turn_status for messages. | |
| first_message_max_chars | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| agentGuidance | No | ||
| agentGuidanceText | No | ||
| recoveryAttemptState | No |