edit_file_with_context_using_assistant
Edit a file with context provided by an AI assistant.
Arguments
Name
Type
Description
Required
path_to_file
string
The path to the file that needs editing, relative to the project root.
find_info_in_file_prompt
prompt
Instructions for finding information within the file.
find_files_from_info_prompt
prompt
Instructions for finding related context files based on information found.
find_context_in_file_prompt
prompt
Instructions for finding context within each related file.
edit_prompt
prompt
Instructions on how to edit the file using the provided context.
Returns
Type
Description
prompt
Paths to the edited files.
Example
Last updated