GonMCPtool

codeLineDelete

Remove specified lines of code from a file using start and end line numbers. Simplifies code cleanup without requiring manual edits for indentation or compiler issues.

Instructions

每次使用前、使用後必須先使用(codeFileRead)。刪除程式碼檔案指定範圍的行。(如果不影響編譯器的話,不需要針對縮排等小問題修改。提醒User就好了)

Input Schema

NameRequiredDescriptionDefault
endLineNo
filePathYes
startLineYes

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "endLine": { "type": "number" }, "filePath": { "type": "string" }, "startLine": { "type": "number" } }, "required": [ "filePath", "startLine" ], "type": "object" }
ID: 8xcb3w59pl