Ask Antigravity (new conversation)
antigravity_askAsk a question to Antigravity AI to get an answer. Sends your prompt to a new conversation and returns the final response text. Use for quick tasks and tool-calling.
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 slug to run this conversation on (agy's --model), e.g. "gemini-3.1-pro-high" or "claude-sonnet-4-6". Omit to use the model set in agy's settings.json (gemini-3.6-flash-high by default). Must be one of `agy models` — an unknown slug is rejected up front (agy would otherwise silently ignore it and fall back to the default). agy 1.1.5 replaced the old human labels ("Gemini 3.1 Pro (High)") with these slugs and 1.1.6 added the gemini-3.6-flash family; the old form is no longer accepted. See antigravity_status / `agy models` for the valid slugs. | |
| 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 |