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
Returns
Example
Last updated
A tool to create a new file based on instructions. If no instructions are provided, this simply acts like touch.
Last updated
Name | Type | Description | Required |
---|---|---|---|
Type | Description |
---|---|
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.
string
The directory path where the file was created.