Apply a unified diff patch to one project file
apply_patchApply a patch to a file after confirming its SHA256 checksum matches the expected hash.
Instructions
Preferred write tool for focused code edits. Read the file first and pass expectedSha256.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| patch | Yes | ||
| project | Yes | Project key from list_projects. | |
| expectedSha256 | Yes |