code.apply_patch
Apply a unified diff to modify code, validating that all touched paths remain within the allowed workspace and are not forbidden.
Instructions
[approval required][workspace write][risk:dangerous] Apply a unified diff after validating all touched paths stay inside workspaceRoot and are not forbidden.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| patch | Yes |