apply_text_edits
Apply multiple non-overlapping line-range edits to a file atomically, with optional guard text and encoding preservation.
Instructions
Apply multiple non-overlapping line-range edits in a single atomic write.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bom | No | preserve | |
| path | Yes | ||
| edits | Yes | ||
| newline | No | preserve | |
| encoding | No | preserve | |
| base_hash | No | ||
| final_newline | No | preserve |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |