GonMCPtool

insert_to_file

Insert new content into a file at a specified position. Preview changes with dry run option to ensure accuracy before applying modifications.

Instructions

在檔案的特定位置插入新內容

Input Schema

NameRequiredDescriptionDefault
contentYes要插入的內容
dryRunNo預覽變更而不實際修改檔案
pathYes
positionYes

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "content": { "description": "要插入的內容", "type": "string" }, "dryRun": { "default": false, "description": "預覽變更而不實際修改檔案", "type": "boolean" }, "path": { "type": "string" }, "position": { "type": [ "number", "string" ] } }, "required": [ "path", "position", "content" ], "type": "object" }
ID: 8xcb3w59pl