editFile
Modify or create files by specifying the file path and new content using Claude Code MCP's file editing tool.
Instructions
Create or edit a file
Input Schema
Name | Required | Description | Default |
---|---|---|---|
content | Yes | The new content for the file | |
file_path | Yes | The 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"
}