delegate
Delegate complex tasks to the Antigravity CLI when other tools fall short. Runs read-only by default; enable write or sandbox modes as needed.
Instructions
Raw delegation to the Antigravity CLI for heavy tasks that don't fit the other tools. Read-only by default; pass write: true to let agy edit files, sandbox: true to confine it. Anything it was refused comes back as a denied-actions note.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Absolute path to the working directory / project root. Defaults to the server's cwd. | |
| dirs | No | Extra directories to add to agy's workspace, for cross-repo or worktree-vs-base analysis. | |
| model | No | Override the model. Accepts a display name ("Gemini 3.8 Flash (High)"), an id ("gemini-3.8-flash-high"), or a family selector ("gemini-pro@latest-high"). Normally omit — the tool routes automatically. | |
| write | No | Allow file edits and command execution. Off by default. | |
| effort | No | Reasoning tier. Gemini models carry their tier in the name, so this switches to the sibling model at that tier (Flash (High) -> Flash (Medium)); agy's own --effort flag only reaches models without a tier. Defaults to the user's set_model choice, else the tool's own tier. | |
| prompt | Yes | The complete task prompt for agy. | |
| schema | No | JSON Schema (as a string) constraining the answer. Returns structuredContent as well as text. Costs noticeably more latency and tokens, so use it only when you will parse the result. | |
| sandbox | No | Run agy with terminal restrictions enabled. | |
| slash_commands | No | Let agy expand your slash commands and skills into the prompt. Off by default: a hostile file in the workspace can otherwise steer the delegated model. |