agy_configure_workspace
Configures workspace environment and Antigravity IDE HUD settings: auto-detects toolchains, registers monorepo dirs, injects env vars, and syncs .vscode settings for subagent runs.
Instructions
Update workspace environment configuration and Antigravity IDE Visual HUD settings. Auto-detects project toolchains (.venv, node_modules/.bin), registers monorepo directories (--add-dir), injects environment variables, optionally syncs .vscode/settings.json, and attaches or launches the Antigravity IDE window. WHEN TO USE: Only when configuring custom virtualenv/monorepo paths or toggling IDE Visual HUD attachment. DO NOT USE FOR: Read-only status or quota checks (use agy_status instead). RETURNS: JSON object { ide_window_attached, opened_ide_window, workspace_environment } plus telemetry footer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Optional workspace root directory path. | |
| add_dirs | No | Additional directories to include in the agy workspace via --add-dir (e.g. ["../shared-types"]). | |
| attach_ide | No | Set true if this workspace is already open in Antigravity IDE to enable follow_files / visual_review_gate; set false to prevent --reuse-window from touching another project window. | |
| follow_files | No | Enable or disable active editor file:line jumping. | |
| env_overrides | No | Key-value string environment variables (e.g. {"NODE_ENV": "test"}) injected into every subagent run. | |
| open_ide_window | No | If true, launches Antigravity IDE pointed specifically at this workspace folder and marks ide_window_attached=true. | |
| vscode_settings | No | Optional key-value settings to merge non-destructively into .vscode/settings.json for Antigravity IDE. | |
| extra_path_entries | No | Additional PATH directories (e.g. custom toolchain or virtualenv bin folders) injected into every subagent execution. | |
| python_interpreter | No | Explicit Python interpreter path to sync into .vscode/settings.json. | |
| visual_review_gate | No | Enable or disable inline --diff tabs on delegated edits. |