write_file
Create or overwrite a file by specifying the file path and content using the Filesystem MCP Server, enabling secure file management and modification.
Instructions
Create new file or overwrite existing
Input Schema
Name | Required | Description | Default |
---|---|---|---|
content | Yes | Content to write to the file | |
path | Yes | Path to the file to write |
Input Schema (JSON Schema)
{
"properties": {
"content": {
"description": "Content to write to the file",
"type": "string"
},
"path": {
"description": "Path to the file to write",
"type": "string"
}
},
"required": [
"path",
"content"
],
"type": "object"
}