Apply a guarded unified patch
apply_patchApply a unified diff to a text file after verifying its SHA-256 checksum to ensure integrity before patching.
Instructions
Apply a unified diff to one existing text file after verifying the SHA-256 returned by read_file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| patch | Yes | ||
| projectId | Yes | ||
| expectedSha256 | Yes |