Fork Codex Agent
agent_forkCreate an independent worker by branching from an existing agent or Codex thread. Provide an optional prompt to start work immediately.
Instructions
Branch a managed agent or persisted Codex thread into a new independent worker. An optional prompt starts work immediately on the fork.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | ||
| prompt | No | ||
| forkOptions | No | Additional thread/fork fields passed through to app-server. | |
| turnOptions | No | Additional turn/start fields used when prompt is present. | |
| sourceAgentId | No | ||
| sourceThreadId | No |