apply_patch
Apply patch files to modify workspace code, supporting dry runs, reverse application, path stripping, and backup creation for controlled code changes.
Instructions
Apply a patch file to the workspace
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| patchFile | Yes | Path to patch file | |
| dryRun | No | Show what would be done without making changes | |
| reverse | No | Apply patch in reverse | |
| stripPaths | No | Number of path components to strip | |
| backup | No | Create backup files |