fs_replace
Replace an exact string in a UTF-8 file to make precise edits. Fails when target text is missing or ambiguous, preventing unintended changes.
Instructions
Make a precise text edit by replacing an exact string in a UTF-8 file. Fails when the target text is absent or ambiguous.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| agent | No | Optional existing runtime binding for monitor attribution; no extra handshake. | |
| newText | Yes | ||
| oldText | Yes | ||
| replaceAll | No |