apply_patch
Apply a unified diff patch to a workspace while enforcing patch limits, ensuring controlled modifications for PR automation.
Instructions
Apply a unified diff patch and enforce patch limits.
The patch is written to a temporary file inside the sandbox and applied
using ``git apply``. Patch limits are enforced before application.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unified_diff | Yes | ||
| workspace_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||