codex_execute_async
Launch a Codex task asynchronously and get a task ID to check results later, enabling background execution without blocking your workflow.
Instructions
Start a Codex task in the background and return immediately with a task_id. Use codex_check_result to retrieve the result later. This allows you to continue working while Codex runs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Additional command-line arguments. Model selection: ["-m", "gpt-5-codex"] for coding (default) or ["-m", "gpt-5"] for analysis. Reasoning effort: ["--config", "model_reasoning_effort=low|medium|high"] (gpt-5-codex supports low/medium/high; gpt-5 supports minimal/low/medium/high). Example: ["--full-auto", "-m", "gpt-5", "--config", "model_reasoning_effort=high"]. Always include "--full-auto" for non-interactive execution. | |
| prompt | No | Main prompt/argument for the command | |
| subcommand | No | Codex subcommand to execute | exec |