write_file
Write content to a specified file path using the encoding of your choice. Simplify file creation and updates in the Edit MCP server environment.
Instructions
Write content to a file
Input Schema
Name | Required | Description | Default |
---|---|---|---|
content | Yes | Content to write to the file | |
encoding | No | Encoding to use when writing the file (default: utf8) | |
path | Yes | Path to the file to write |
Input Schema (JSON Schema)
{
"properties": {
"content": {
"description": "Content to write to the file",
"type": "string"
},
"encoding": {
"description": "Encoding to use when writing the file (default: utf8)",
"type": "string"
},
"path": {
"description": "Path to the file to write",
"type": "string"
}
},
"required": [
"path",
"content"
],
"type": "object"
}