ask-antigravity
Delegate multi-step coding tasks to Google Antigravity CLI, selecting models, agent modes, workspaces, and sessions, or resume conversations and generate read-only plans and code reviews.
Instructions
Execute Google Antigravity CLI (agy) in print mode with model selection, conversation resume, and workspace controls.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"prompt": "<prompt>"
},
"name": "ask-antigravity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cd | No | Working directory | |
| mode | No | Agent mode (--mode): accept-edits, auto (sandboxed autonomy; not available on every account), or plan (answers go into a plan artifact). | |
| model | No | Optional model override (ID or display label from `agy models`). Known: Gemini 4 Hydrogen (Low), Gemini 4 Hydrogen (Medium), Gemini 4 Hydrogen (High), Gemini 4 Hydrogen (XHigh), Gemini 4 Argon (Low), Gemini 4 Argon (Medium), Gemini 4 Argon (High), Gemini 4 Carbon (Low), Gemini 4 Carbon (Medium), Gemini 4 Carbon (High), Orchestrator (Argon), Orchestrator (Carbon), Gemini 3.8 Flash (Low), Gemini 3.8 Flash (Medium), Gemini 3.8 Flash (High), Claude Opus 5.5 (Low), Claude Opus 5.5 (Medium), Claude Opus 5.5 (High), Claude Sonnet 5.5 (Low), Claude Sonnet 5.5 (Medium), Claude Sonnet 5.5 (High), GPT-OSS 120B (Medium). If omitted, uses your Antigravity CLI default. | |
| dryRun | No | Return the resolved CLI argv as JSON without spawning agy. | |
| effort | No | Reasoning effort (--effort). Supported levels depend on the model — see list-models. Use with a base model ID (e.g. gemini-4-hydrogen); not supported by Orchestrator. | |
| prompt | Yes | Task or question. Reference files by path — agy reads them with its own tools. | |
| addDirs | No | Additional workspace directories (--add-dir, repeatable). | |
| sandbox | No | --sandbox: run with terminal restrictions enabled. | |
| timeout | No | Maximum execution time in milliseconds (default 600000) | |
| sessionId | No | Internal session ID for conversation continuity (workspace-isolated). | |
| workingDir | No | Working directory for execution (alias of cd) | |
| resetSession | No | Clear session context before execution. Starts fresh conversation. | |
| responseMode | No | Response verbosity: "clean" returns only the final answer (default), "full" includes the stderr execution log. | clean |
| continueLatest | No | Use --continue to resume the most recent conversation. | |
| conversationId | No | Native Antigravity conversation ID to resume (--conversation). Overrides sessionId lookup. | |
| skipPermissions | No | ⚠️ --dangerously-skip-permissions: auto-approve all tool permission requests. |