edit_file_with_context_file

Edit a file with a passed in context file for reference.

Arguments

NameTypeDescriptionRequired

path_to_file

string

The path to the file that needs editing. The path should be relative to the project root.

context_file_path

string

The path to the context file. The path should be relative to the project root.

edit_prompt

prompt

Instructions for how to edit the file.

Returns

TypeDescription

string

The path to the file that was edited.

Example

- name: edit_file_with_context_file
  arguments:
    path_to_file: <path-to-file>
    context_file_path: <context-file-path>
    edit_prompt: <edit-instructions>
  returns: <path-to-edited-file>

Last updated