File Edit Check MCP Server

checked_write_to_file

Write to a file, requiring it to have been read first if it exists

Input Schema

NameRequiredDescriptionDefault
contentYesContent to write to the file
line_countYesNumber of lines in the content
pathYesPath to write the file to

Input Schema (JSON Schema)

{ "properties": { "content": { "description": "Content to write to the file", "type": "string" }, "line_count": { "description": "Number of lines in the content", "type": "number" }, "path": { "description": "Path to write the file to", "type": "string" } }, "required": [ "path", "content", "line_count" ], "type": "object" }