codex_start
Initiate a background codex task and receive an immediate job ID to track progress without blocking or timeout.
Instructions
Start a codex task asynchronously in the background.
Returns a job_id immediately — does not block or timeout. Use codex_poll(job_id) to check progress.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | The task description to pass to codex. | |
| cwd | Yes | Absolute path to the working directory for codex. | |
| approval_policy | No | One of 'suggest', 'auto-edit', 'full-auto'. Default: 'suggest'. | suggest |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||