replace_range
Atomically replace a line range in a file using an optimistic-lock hash to prevent conflicts during concurrent edits.
Instructions
Atomically replace an inclusive line range using a mandatory optimistic-lock hash.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| end_line | Yes | ||
| start_line | Yes | ||
| replacement | Yes | ||
| expected_sha256 | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||