edit_file_at_line
Modify text files by editing specific lines with actions like replace, insert, or delete, enabling precise content changes while supporting verification, offsets, and dry runs for accuracy and control.
Instructions
Edit specific lines in a text file.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
abort_on_verification_failure | No | ||
dry_run | No | ||
encoding | No | utf-8 | |
limit | No | ||
line_edits | Yes | ||
offset | No | ||
path | Yes | ||
relative_line_numbers | No |