validate_edit
Validate code edits by detecting syntax errors and breaking changes before applying them to prevent flawed modifications.
Instructions
Validates a proposed code edit BEFORE applying it. Checks for:
Syntax Errors (missing braces, invalid syntax).
Breaking Changes (removing functions/classes that are used by other files).
Use this tool to check your code before writing it to a file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| new_content | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |