Ask Antigravity
antigravityDelegate coding tasks or questions to the agy CLI; it can edit workspace files by default, or use plan mode for read-only answers and continue a conversation with its ID.
Instructions
Hand a task or question to the Antigravity CLI (agy) and return its answer. By default agy may edit files in the workspace; pass mode "plan" for a read-only answer. Pass the returned conversationId to continue the same conversation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Directory agy works in. Defaults to the directory the server was started from. | |
| mode | No | accept-edits = may edit files (server default). plan = read-only. auto = also run commands, if the account supports it. | |
| model | No | Model id, e.g. "gemini-3.8-flash-high". Run antigravity_models for the list. | |
| effort | No | Reasoning effort. | |
| prompt | Yes | The task or question for Antigravity. | |
| addDirs | No | Extra directories to add to the workspace. | |
| project | No | Antigravity project id or name. | |
| sandbox | No | Run with terminal restrictions enabled. | |
| timeoutSec | No | Give up after this many seconds. Partial output is returned if any. | |
| conversationId | No | Continue an earlier conversation. Use the id returned by a previous call. |