Create file
create_fileCreate a new file under the root, with the given text content. Creates any missing parent directories. Fails if the file already exists unless overwrite is set to true.
Instructions
Create a new file under the root, with the given text content. Creates any missing parent directories. Fails if the file already exists unless overwrite is set to true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path relative to root | |
| content | No | Text content for the new file | |
| overwrite | No | If true, replace the file if it already exists |