edit_file
Make line-based edits to text files by specifying original lines and their replacements. Returns a git-style diff showing changes made to files on your PC.
Instructions
Make line-based edits to a text file. Provide original lines and their replacements. Returns a git-style diff showing the changes made. Each edit replaces exact line sequences with new content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The path to the file to edit | |
| edits | Yes | Array of edit operations to apply |