codex_send_message
Send a message to an existing Codex thread to continue a conversation or issue a command. Returns immediately after sending; poll codex_get_turn_status for progress.
Instructions
Compatibility write for sending a message to an existing Codex thread. Prefer codex_submit_task with operation_type='send_message' for durable long work. In client mode this delegates to the durable queue.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | ||
| project_id | No | ||
| message | Yes | ||
| mode | No | normal | |
| 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 | ||
| approval_policy | No | on-request | |
| collaboration_mode | No | ||
| sandbox | No | read-only |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| agentGuidance | No | ||
| agentGuidanceText | No | ||
| recoveryAttemptState | No |