overwrite
Replace selected text lines with new content in editor-mcp. Preview changes and syntax errors for JS or Python before applying updates.
Instructions
Overwrite the selected lines with new text. Amount of new lines can differ from the original selection
Args: new_lines (dict): Example: {"lines":["line one", "second line"]}
Returns: dict: Diff preview showing the proposed changes, and any syntax errors for JS or Python
Input Schema
Name | Required | Description | Default |
---|---|---|---|
new_lines | Yes |