continue_conversation
Resume a previous Codex conversation with thread_id to ask follow-up questions and continue multi-step code analysis while preserving context.
Instructions
Continue an existing Codex conversation.
Resumes a previous conversation using thread_id to maintain context. Same read-only sandbox limitations as start_new_conversation apply.
When to use:
Asking follow-up questions based on previous analysis
Continuing multi-step analysis on the same codebase
Sending additional requests while maintaining conversation context
Args: thread_id: thread_id from a previous conversation. prompt: Follow-up prompt to send to codex. Use @filepath to mention files. working_directory: Directory path for codex to work in (optional).
Returns: Dict with thread_id and response.
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": {
"thread_id": "<thread_id>",
"prompt": "<prompt>"
},
"name": "continue_conversation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | ||
| thread_id | Yes | ||
| working_directory | No |