codex_start
Launches a Codex task asynchronously and returns a job_id immediately, so long-running work continues in the background; completion callbacks support verification and milestone progression.
Instructions
Launch a Codex task asynchronously in the background and immediately return a job_id. Persisted to disk; when progression mode is 'notify' or 'autonomous', the Sidecar automatically sends a callback message back to Antigravity upon completion so verification and milestone progression continue seamlessly.
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": {
"prompt": "<prompt>"
},
"name": "codex_start"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Absolute path to the working directory where Codex should operate. Defaults to the active goal cwd or current workspace directory. | |
| model | No | Optional model override for Codex. Omit to use the model selected in the Codex Bridge UI panel or ~/.codex/config.toml. | |
| config | No | Optional Codex config overrides in 'key=value' TOML format (passed as -c). | |
| images | No | Optional image file paths to attach to the prompt. | |
| prompt | Yes | Detailed task instructions for Codex. | |
| goal_id | No | Optional persistent goal_id to associate this Codex execution with (auto-links session_id and iteration count). | |
| profile | No | Optional Codex config profile name (-p <profile>). | |
| sandbox | No | Sandbox policy for Codex shell commands. Omit to use the active Codex Bridge UI panel setting. | |
| add_dirs | No | Additional directories that should be writable alongside cwd. | |
| worktree | No | If true, run the session inside a managed Git worktree. | |
| ephemeral | No | If true, do not persist the Codex session to disk. | |
| session_id | No | Optional: if provided, starts an async `codex exec resume` on this session_id instead of a brand-new session. | |
| milestone_id | No | Optional milestone_id (e.g. 'm1') inside goal_id that this execution is working on. | |
| output_schema | No | Optional path to a JSON Schema file constraining Codex's final response shape. | |
| timeout_seconds | No | Maximum runtime in seconds (default 1800 = 30 min). | |
| reasoning_effort | No | Optional reasoning effort override for Codex. Omit to use the level selected in the Codex Bridge UI panel or Codex default. | |
| notify_on_complete | No | Whether the Sidecar should automatically notify the bound Antigravity conversation when this job finishes. Defaults to true unless progression_mode is 'manual'. | |
| skip_git_repo_check | No | Allow Codex to run outside a Git repository (defaults to UI panel setting / true). |