binary_patch_preview
Verify expected bytes at a binary offset and preview a replacement, returning a token to apply the patch as a new copy while preserving the original file.
Instructions
Verify disk bytes and preview replacement; retain its token for a copy-on-write apply.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| offset | Yes | ||
| expected_hex | Yes | ||
| replacement_hex | Yes |