Skip to main content
Glama

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" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/GonTwVn/GonMCPtool'

If you have feedback or need assistance with the MCP directory API, please join our Discord server