execute_workspace_command
Run shell commands directly in the Antigravity workspace. Capture stdout, stderr, exit code, and execution time for local project tasks.
Instructions
Executes a shell command directly in the Antigravity workspace, capturing stdout, stderr, exit code, and execution time.
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": {
"command": "<command>"
},
"name": "execute_workspace_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Optional working directory. Defaults to the workspace root. | |
| command | Yes | The shell command to run (e.g. 'git status', 'ls -la', 'npm test'). | |
| timeout | No | Timeout in seconds. |