patch
Apply a unified diff patch to text, producing the transformed output. Returns the patched text. Requires a valid API key (Bearer token); billing is per combined input characters. To generate a diff, use diff.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Original text to apply the patch to. | |
| patch | Yes | Unified diff patch text. |