rename_file_using_assistant

Renames a file within the project's repository based on a given prompt.

Arguments

NameTypeDescriptionRequired

path_to_file

string

The full path to the file to be renamed.

rename_file_prompt

string

A prompt describing the new name for the file.

Returns

TypeDescription

string

The new path of the renamed file.

Example

- name: rename_file_using_assistant
  arguments:
    path_to_file: <path/to/your/file>
    rename_file_prompt: <your prompt for renaming>
  returns: <new file path>

Last updated