codeLineInsert
Insert content at a specific line in a code file using the MCP server tool. Automatically shifts existing content downward, allowing precise code edits without manual adjustments.
Instructions
每次使用前、使用後必須先使用(codeFileRead)。在程式碼檔案指定行插入內容,原內容將向下移動。(如果不影響編譯器的話,不需要針對縮排等小問題修改。提醒User就好了)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
content | Yes | ||
filePath | Yes | ||
indentToMatch | No | ||
lineNumber | Yes |