apply_patch
Apply unified diff patches to modify workspace files, supporting validation, reversal, and Git integration for development workflows.
Instructions
Apply a unified diff patch in the workspace
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| patch | Yes | Unified diff (git-style) | |
| dryRun | No | Validate without applying changes | |
| reverse | No | Apply the patch in reverse | |
| fuzz | No | Allow fuzz matching | |
| commitMessage | Yes | Commit message for git |