checked_apply_diff
Applies a unified diff to a file after ensuring it has been pre-read, enforcing secure and documented file modifications to prevent unauthorized changes.
Instructions
Apply a diff to a file, requiring it to have been read first
Input Schema
Name | Required | Description | Default |
---|---|---|---|
diff | Yes | Unified diff content to apply | |
path | Yes | Path to the file to modify |