edit_file
Replace specific text in files to make targeted edits without rewriting the whole file.
Instructions
Performs a precise surgical search-and-replace edit in an existing file. Avoids having to rewrite the entire file when making targeted code changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | ||
| file_path | Yes | ||
| find_text | Yes | ||
| replace_text | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |