# Exact Unified Patch Application

Build-time release reference. Runtime readiness, deployment, payment settlement and external indexing are not evaluated here. Prices are proposed; this file cannot authorize execution or payment.

Apply a single-file supplied unified diff to supplied LF text with exact old/new hunk positions, exact context matching, final-newline markers and optional source digest/label assertions. Labels are inert metadata. No fuzzy offsets, Git prelude, filesystem writes or external content.

Release: 0.29.0. Built: 2026-10-06T15:38:00Z.

## Choose for
- Validate and apply a model-generated unified patch to supplied document text
- Reject stale patch context before accepting a document revision

## Outside this profile
- Multi-file patches, Git binary patches, rename metadata, fuzz or CRLF text
- Filesystem access, path safety validation, or applying a patch to a repository

Proposed nominal USD 0.01 per successful call; payer fees excluded. No verified runtime availability.

- [Exact release contract](/reference/services/unified-diff-apply.json)
- [Input schema](/reference/schemas/unified-diff-apply.input.json)
- [Output schema](/reference/schemas/unified-diff-apply.output.json)
- [Fixed example](/reference/examples/unified-diff-apply.json)
- [Complete HTML reference](/discover/tools/unified-diff-apply)
