codex_start_chat
Start a new Codex chat in a known project with a user message. Returns immediately; poll codex_get_turn_status for messages and completion.
Instructions
Compatibility layer low-level write tool: start a new Codex chat in a known project via app-server thread/start + turn/start. Returns after turn/start is accepted; poll codex_get_turn_status for messages and completion. For durable long-running tasks and client-timeout resilience, prefer codex_submit_task(operation_type='start_chat').
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 |