write_file
Replace entire file contents for large updates or when incremental edits fail. Ensures precise file modifications within permitted directories, overwriting existing content as needed.
Instructions
Completely replace file contents. Best for large changes (>20% of file) or when edit_block fails. Use with caution as it will overwrite existing files. Only works within allowed directories.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
content | Yes | ||
path | Yes |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from Claude Desktop Commander MCP
Related Tools
- @wonderwhy-er/DesktopCommanderMCP
- @8grackles/file-edit-check-server
- @8grackles/file-edit-check-server
- @arathald/mcp-editor
- @ezyang/codemcp