codex_message
Send instructions to an active Codex turn, or start another turn in the same thread when idle. Inspect status before retrying after a race with completion.
Instructions
Send direction to a running Codex turn, or start another turn in the same thread if it is idle. A race with turn completion can return an error: inspect status before retrying.
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": {
"threadId": "<threadId>",
"message": "<message>"
},
"name": "codex_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | ||
| threadId | Yes |