edit_block
Replace an exact old string with a new string in a file. Optional parameters control expected replacement count and whitespace normalization.
Instructions
Edit block
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| old_string | Yes | ||
| new_string | Yes | ||
| expected_replacements | No | ||
| normalize_whitespace | No |