mcp-editor

by arathald
Verified

insert

Insert text at a specific line in the file

Input Schema

NameRequiredDescriptionDefault
insert_lineYesLine number where text should be inserted
new_strYesText to insert
pathYesAbsolute path to the file

Input Schema (JSON Schema)

{ "properties": { "insert_line": { "description": "Line number where text should be inserted", "type": "number" }, "new_str": { "description": "Text to insert", "type": "string" }, "path": { "description": "Absolute path to the file", "type": "string" } }, "required": [ "path", "insert_line", "new_str" ], "type": "object" }

You must be authenticated.

Other Tools