str_replace_file
Replace a unique string in a file with new content while preserving version history. Requires the old string to appear exactly once in the file.
Instructions
Reemplazo puntual: 'old' debe aparecer exactamente una vez en el archivo. Queda en el historial.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new | Yes | ||
| old | Yes | ||
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |