edit_file
Replace strings in a file by providing a path and alternating old/new text pairs. Confirms each change with applied status and diffs.
Instructions
String-replace edits. Returns {applied, diffs} confirming each change.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edits | Yes | [old, new, old, new, ...] pairs | |
| path | Yes | Relative path |