MCP-PIF Server

write

Modify or create file content with operations like write, append, replace, or edit using structured input. Simplifies file management for developers and AI integration on the MCP-PIF Server platform.

Instructions

Write or modify file content

Input Schema

NameRequiredDescriptionDefault
contentNoContent to write
editsNoArray of edits for edit operation
lineNumberNoLine number for replace operation
operationYesType of write operation to perform
pathYesPath for the file to write/modify

Input Schema (JSON Schema)

{ "properties": { "content": { "description": "Content to write", "type": "string" }, "edits": { "description": "Array of edits for edit operation", "items": { "properties": { "newText": { "description": "New text to insert", "type": "string" }, "oldText": { "description": "Text to replace", "type": "string" } }, "required": [ "oldText", "newText" ], "type": "object" }, "type": "array" }, "lineNumber": { "description": "Line number for replace operation", "type": "number" }, "operation": { "description": "Type of write operation to perform", "enum": [ "write", "append", "replace", "edit" ], "type": "string" }, "path": { "description": "Path for the file to write/modify", "type": "string" } }, "required": [ "path", "operation" ], "type": "object" }

You must be authenticated.

Other Tools from MCP-PIF Server

Related Tools

ID: fr71fvl2at