edit_file
Replace exact text in a file with new content to update existing file sections. Optionally replace all occurrences.
Instructions
Update an existing file by replacing target text with new text.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the file to edit | |
| target | Yes | Exact string content to replace | |
| replaceAll | No | Whether to replace all occurrences of target (default: false) | |
| replacement | Yes | New replacement content |