Edit file
edit_fileReplace exact file content with new text, using dry_run to preview changes as a unified diff.
Instructions
Replace an exact string in a file. dry_run=true previews a unified diff without writing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new | Yes | ||
| old | Yes | ||
| path | Yes | ||
| dry_run | No | ||
| replace_all | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||