Antigravity Delegate
v2.3.0Bring Google Antigravity (agy) into your agent's council for second opinions, plans and edits.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
delegate Delegate coding task to Antigravity
Ask Antigravity's agy a question or delegate coding work to it over ACP. Never shell out to agy — use this tool only. mode ask gives a second opinion; parallel calls with the same brief compare views. Auto-approves every permission the agent requests, in any mode and anywhere on disk. agy's clarifying questions arrive in questions — resume with resumeSessionId and the answers in spec. Leave model and effort unset unless the user explicitly asks. If the delegate skill is installed, load it before handing off implementation.
| Parameter | Type | Description |
|---|---|---|
spec * | string | Task brief: goal, scope, fixed decisions quoted exactly, acceptance criteria. Sent as written. Point at files to read rather than pasting code, or attach them with contextFiles. |
workspace * | string | The agent's working directory, not a limit. Smallest directory holding the task's files; with no such directory the project root is the floor. Must already exist; never create one for the call. |
contextFiles | array | Paths to attach instead of pasting contents into spec. Text becomes references the agent may open; images (png/jpg/gif/webp, <5MB) are sent inline. Relative paths resolve against workspace but are not… |
effort | string | agy thinking level for the selected model (low, medium, high, xhigh). Levels differ per model; invalid values fail before the prompt and name the accepted set. Pass only when the user asks for agy eff… |
mode | string | agent implements; plan writes a plan, returned as plan; ask answers. plan and ask are instructions to the agent, not limits. |
model | string | agy base model id, no level suffix: gemini-4-neon, gemini-3.8-flash. Omitted, a new session runs gemini-4-hydrogen (agy's default where the account lacks it), a resume keeps the model last set on the… |
resumeSessionId | string | Continue an existing agy session. When delegate ran as an MCP task, its server-side task id works too. |
cancel Cancel Antigravity delegation
Best-effort cancel of an in-flight delegation by sessionId. session/cancel is advisory — the agent may finish the turn anyway, and the delegate result then carries cancelRequested. Status: cancelled, killed (agent process observed to exit), not-running (turn already ended, still resumable), not-found (id not in this process's session history).
| Parameter | Type | Description |
|---|---|---|
sessionId * | string | From delegate's "session ready: <id>" progress notification or its result. When delegate runs as an MCP task, its server-side task id works too. |
force | boolean | Kill the agent process if the turn is still running after a short grace period. |
steer Steer Antigravity delegation
Redirect an in-flight delegation by sessionId: message goes to agy as a new instruction for the running turn, and the delegate call returns the redirected turn's result. Status: steered (sent), not-ready (prompt not sent yet; retry), not-running (turn already ended — resume instead), not-found (id not in this process's session history).
| Parameter | Type | Description |
|---|---|---|
message * | string | The new instruction for agy. |
sessionId * | string | From delegate's "session ready: <id>" progress notification or its result. When delegate runs as an MCP task, its server-side task id works too. |
doctor Diagnose Antigravity delegation setup
Diagnose the agy launcher and workspace (default: server cwd); warnings lists what needs action. Run when delegation fails.
| Parameter | Type | Description |
|---|---|---|
deep | boolean | Also open an ACP session: checks sign-in and adds the plan, the models this account offers, the default model check, modes and the current model's options. |
workspace | string |