edit
Replace text in a file, blocking new code that duplicates existing structure to prevent redundancy.
Instructions
Edit file. Blocks if new code duplicates existing, warns on similarity.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute file path | |
| new_string | Yes | Replacement code | |
| old_string | Yes | Exact text to replace (must be unique) |