codex_run_turn
Resume an existing Codex thread by sending a follow-up prompt to continue autonomous coding tasks.
Instructions
Run a follow-up turn or send a new prompt in an existing Codex thread.
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>",
"prompt": "<prompt>"
},
"name": "codex_run_turn"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workingDirectory | No | ||
| model | No | ||
| sandboxMode | No | danger-full-access | |
| networkAccessEnabled | No | ||
| webSearchEnabled | No | ||
| threadId | Yes | The ID of the thread to resume. | |
| prompt | Yes | The follow-up prompt or query for the agent. |