Shell commands with Antigravity
antigravity_shellGenerate shell commands for a task, or run them by setting execute to true; permission-denied errors name the settings rule to add.
Instructions
Have Antigravity write shell commands for a task, or run them when execute is true. Running needs the "command" permission allowed in agy's settings.json; without it the tool returns a permission-denied error that names the rule to add.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Directory to work in. Defaults to the directory the server was started from. | |
| task | Yes | What the commands should do. | |
| model | No | Model id, e.g. "gemini-3.8-flash-high". Run antigravity_models for the list. | |
| execute | No | false (default): only write the commands. true: run them. | |
| timeoutSec | No | Give up after this many seconds. Partial output is returned if any. |