edit_file_long_context

Edit a file based on provided instructions.

Arguments

Returns

Example

- name: edit_file
  arguments:
    path_to_file: <relative-path-to-file>
    edit_prompt: <edit-instructions>
    modify_with_diff: <true/false>
    must_exist: <true/false>
    fail_if_already_edited: <true/false>
  returns: <path-to-edited-file>

Last updated