dispatch_gemini_agent
Delegates coding, analysis, or research tasks to a background subagent and returns a job_id immediately, so your orchestrator keeps working without waiting for completion.
Instructions
Dispatch a coding, analysis, or research task to a background Antigravity subagent. Returns immediately with a job_id so the orchestrator is never blocked.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | Detailed task description or prompt for the worker agent. | |
| model | No | Which live model to run this job on, e.g. 'Gemini 3.8 Flash (High)'. The live catalog (versions, families, and thinking-effort tiers) changes over time and depends on the connected Antigravity IDE session — call list_available_models rather than assuming a name. Defaults to the fastest available flash-tier model. | |
| context_files | No | Optional absolute file paths to include as context for the agent. | |
| workspace_path | No | Target workspace directory, which must exactly match one verified IDE workspace. Omit only when discovery identifies a unique workspace. This validates dispatch; it does not sandbox the agent filesystem. | |
| system_instruction | No | Custom system instructions for the subagent worker. |