run_antigravity
Launch Google Antigravity AI agent tasks synchronously with a timeout guard; converts long-running tasks to background jobs and supports autonomous or sandboxed execution.
Instructions
Start a NEW task using Google Antigravity AI Agent (agy). Synchronous execution with a bounded timeout guard (auto-converts to a background job if still running). Supports YOLO autonomous execution or lightweight terminal sandboxing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| yolo | No | If true (default), runs with --dangerously-skip-permissions for full autonomous non-interactive execution. | |
| model | No | Optional model identifier (e.g. 'gemini-3.8-flash-high', 'gemini-3.1-pro-high', 'claude-sonnet-4-6'). | |
| prompt | Yes | Detailed task instructions and requirements. | |
| work_dir | No | Optional working directory path. Defaults to the current workspace root. | |
| read_only | No | If true, enables Antigravity --sandbox. This restricts terminal access but may still allow workspace writes. Defaults to false. | |
| timeout_seconds | No | Seconds to wait before returning the background job ID. Range 1-40; defaults to 40. | |
| print_timeout_seconds | No | Maximum agy execution time. Range 60-86400; defaults to 3600 seconds. |