sandbox_validate
Validate syntax of file edits before applying them. Pass the file path and new content for a dry-run check, then proceed with the edit transaction.
Instructions
Pre-validate edits: pass file + new_content (full new text), dry-run syntax check. Then edit_transaction.
Input Schema
TableJSON 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. |