Claude Code MCP

editFile

Create or edit a file

Input Schema

NameRequiredDescriptionDefault
contentYesThe new content for the file
file_pathYesThe absolute path to the file to edit

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "content": { "description": "The new content for the file", "type": "string" }, "file_path": { "description": "The absolute path to the file to edit", "type": "string" } }, "required": [ "file_path", "content" ], "type": "object" }