Files

Edit file

Edit a text file using a sequence of precise edit operations.

Parameters#

target_filestringrequired

The absolute path to the file to edit.

operationsobject[]required

A list of operations to apply to the file: replace_block, insert_after, insert_before, delete_block, append_line.