apply_text_patch
Apply exact UTF-8 text replacements to files, using a SHA-256 hash to verify file integrity before applying changes.
Instructions
Apply exact UTF-8 text replacements with a required sha256 guard.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| dry_run | No | ||
| replacements | Yes | ||
| max_diff_bytes | No | ||
| expected_sha256 | Yes |