create_file_with_ai
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. | |
create_content_prompt | prompt | The prompt used to create the new file. If not defined, this simply acts like touch. |
Returns
Type | Description |
---|---|
string | The path to the newly created file. |
Example
Last updated