GonMCPtool

fileWrite

Create, edit, and write files with specified content and modes (write, append, JSON). Automatically generate directories and format data as needed for efficient file management.

Instructions

檔案寫入功能,為文件提供建立、編輯與寫入功能

Input Schema

NameRequiredDescriptionDefault
contentYes
createDirsNo
filePathYes
modeNowrite
prettifyNo

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "content": { "type": "string" }, "createDirs": { "type": "boolean" }, "filePath": { "type": "string" }, "mode": { "default": "write", "enum": [ "write", "append", "json" ], "type": "string" }, "prettify": { "type": "boolean" } }, "required": [ "filePath", "content" ], "type": "object" }
ID: 8xcb3w59pl