insert
Add text at a specified line in a file using the mcp-editor server. Input the file path, line number, and new text to ensure precise file edits without automated writes.
Instructions
Insert text at a specific line in the file
Input Schema
Name | Required | Description | Default |
---|---|---|---|
insert_line | Yes | Line number where text should be inserted | |
new_str | Yes | Text to insert | |
path | Yes | Absolute path to the file |