replace_block
Replace a marker-delimited block in a file while preserving encoding, newline style, and using base-hash for integrity verification.
Instructions
Replace a marker-delimited block with base-hash protection and style preservation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bom | No | preserve | |
| mode | No | between | |
| path | Yes | ||
| newline | No | preserve | |
| encoding | No | preserve | |
| base_hash | No | ||
| end_marker | Yes | ||
| occurrence | No | ||
| replacement | Yes | ||
| start_marker | Yes | ||
| final_newline | No | preserve |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |