Ask Antigravity (new conversation)
antigravity_askSubmit a prompt to the Antigravity CLI agent in a new conversation; returns the model's answer as text using your existing authentication.
Instructions
Ask Antigravity (agy CLI, Gemini by default) a question in a NEW conversation.
Uses your existing AI Pro authentication (silent-auth via Windows Credential
Manager). Returns the model's final response as text. Good for fast
tool-calling and short tasks; for heavier reasoning pick a bigger model or
use the host model directly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Optional model label to run this conversation on (agy's --model), e.g. "Gemini 3.1 Pro (High)" or "Claude Sonnet 4.6 (Thinking)". Omit to use the model set in agy's settings.json (Gemini 3.5 Flash (High) by default). Must be one of `agy models` — an unknown label is rejected up front (agy would otherwise silently ignore it and fall back to the default). See antigravity_status / `agy models` for the valid labels. | |
| watch | No | If true, open a live "watch" view in your browser that streams agy's steps (narration + the real commands it runs) as it works. agy still runs headless; the same final text is returned. Best- effort and cross-platform — if the browser can't open, the run completes normally. Default false. | |
| prompt | Yes | Question or instruction for Antigravity. | |
| timeout_s | No | Max seconds to wait for agy to complete. Default 180. | |
| workspace | No | Working directory for the conversation. Defaults to cwd. Choose an existing project dir for context-aware responses. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |