Expand description
edit_file — exact-string replacement within a file.
Structs§
- Edit
File Tool - Replaces exact substrings in a file: one
old_string/new_stringpair, or several asedits, applied in order and written together or not at all (spec 3.1 §7.26).
Functions§
- preview
- The content
edit_filewithargswould leave in a file holdingoriginal: the replacements ofargsapplied in order, or the error the call would fail with (spec 3.1 §7.26: a reviewer sees the edit before it runs).