# fs_edit (https://lazyfrog.dev/docs/tools/fs_edit)

{/* Generated by scripts/generate-docs.ts from the gateway's registered tools. Do not edit. */}

**{"Edit a file"}** · Can change or delete

<p>{"Replace an exact string in a file. old_string must match exactly once (include surrounding lines to make it unique) unless replace_all is set. Fails without changing anything if it is not found."}</p>
