create_file
Generate and write content to a new file at a specified path with optional encoding and overwrite settings, streamlining file creation in Enhanced Directory Context MCP Server projects.
Instructions
Create a new file with specified content
Input Schema
Name | Required | Description | Default |
---|---|---|---|
content | Yes | Content to write to the file | |
encoding | No | File encoding (default: utf8) | utf8 |
overwrite | No | Overwrite if file already exists | |
path | Yes | File path relative to working directory |