edit_file_with_context

Edits a file based on instructions for editing the file and instructions for finding contextual information needed to edit the file.

Arguments

Returns

Example

- name: edit_file_with_context
  arguments:
    path_to_file: <path-to-file>
    find_content_in_file_prompt: <find-content-in-file-prompt>
    edit_prompt: <edit-prompt>
    modify_with_diff: <true/false>
  returns: <path-to-edited-file>

Last updated