create_file_with_context
A tool to create a new file based on instructions. If no instructions are provided, this simply acts like touch.
Arguments
Name | Type | Description | Required |
---|---|---|---|
path_to_file | string | The path to the file that needs to be created. The path should be relative to the project root. | |
file_path_info_prompt | prompt | The prompt used to create the path for the new file. If not defined, this simply acts like touch. | |
create_file_prompt | prompt | The prompt used to create the new file. If not defined, this simply acts like touch. |
Returns
Type | Description |
---|---|
string | The directory path where the file was created. |
Example
Last updated