write_file
Create or overwrite files with specified content to manage project files directly from Claude Desktop, enabling file operations within your local development environment.
Instructions
Create or overwrite a file with new content. Use this to create new files or completely replace existing ones.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the file (relative to projects directory or absolute) | |
| content | Yes | Content to write to the file |
Input Schema (JSON Schema)
{
"properties": {
"content": {
"description": "Content to write to the file",
"type": "string"
},
"path": {
"description": "Path to the file (relative to projects directory or absolute)",
"type": "string"
}
},
"required": [
"path",
"content"
],
"type": "object"
}