edit_file
Apply targeted text replacements in an existing file, automatically creating a backup for safe recovery.
Instructions
Apply targeted text replacements in an existing file with backups.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| old_text | No | ||
| new_text | No | ||
| replace_all | No | ||
| edits | No | ||
| ctx | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |