codex_dispatch
Dispatch long-running tasks to a persistent background tmux session that survives disconnects. Returns immediately, allowing you to work on other things.
Instructions
Dispatch a long-running Codex task to background and return immediately. The task runs in a persistent tmux session that survives disconnects. Use codex_status to check progress and codex_cancel to stop.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | ||
| cwd | Yes | ||
| topic | Yes | ||
| sandbox | Yes | Permission mode. read-only for reviews/analysis, full-access for code writing (creates git worktree). | |
| session_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |