Run Antigravity task
antigravity_runRun coding tasks in an isolated copy of your project, returning a taskId while leaving source files unchanged. Use includePaths to narrow copied files.
Instructions
Copy non-ignored project files to a temporary directory and run agy --sandbox there. includePaths narrows copied files or folders. Returns a taskId; source is unchanged.
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>",
"workingDirectory": "<workingDirectory>"
},
"name": "antigravity_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| role | No | ||
| model | No | ||
| prompt | Yes | ||
| sessionId | No | ||
| includePaths | No | ||
| timeoutSeconds | No | ||
| isolateWorktree | No | ||
| workingDirectory | Yes | ||
| acceptanceCriteria | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | No | ||
| error | No |