edit
Replace a specific string in a text file with new text. Specify the file path, old string, new string, and optionally replace all occurrences.
Instructions
Replace old_string with new_string in a text file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path relative to the server root | |
| new_string | Yes | Replacement text | |
| old_string | Yes | Text to replace | |
| replace_all | No | Replace every occurrence |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |