codex_wait
Waits up to 20 seconds for new events or completion, then returns conversation state. Keep waiting while running/starting; waiting_approval means attention is required.
Instructions
Wait up to 20 seconds for new events or completion, then return conversation state. Continue waiting if status remains running/starting. waiting_approval requires attention.
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": {
"conversation_id": "<conversation_id>"
},
"name": "codex_wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | ||
| timeout_ms | No | ||
| conversation_id | Yes | Bridge conversation_id returned by codex_start/resume/list |