sandbox_validate
Check syntax of proposed file edits before applying them, avoiding errors by dry-running full new content.
Instructions
Pre-validate edits: pass file + new_content (full new text), dry-run syntax check. Then edit_transaction.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Target file path (relative to workspace_dir) | |
| new_content | Yes | Full file content after edits (or the edited section) | |
| workspace_dir | Yes | REQUIRED: project root (abs). reindex first if new. |