edit_file_with_context_snippets

Edit a file with instructions for editing the file.

Arguments

NameTypeDescriptionRequired

path_to_file

string

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

context_snippets

array

Context snippets to help with editing the file.

edit_prompt

string

Instructions for how the file should be edited.

Returns

TypeDescription

string

The path to the edited file.

Example

- name: edit_file_with_context_snippets
  arguments:
    path_to_file: <path-to-file>
    context_snippets: <context-snippets>
    edit_prompt: <edit-prompt>
    target: <target>
  returns: <path-to-edited-file>

Last updated