overwrite
Replace selected text lines with new content in Python or JavaScript files. View a preview of changes and identify syntax errors before applying edits.
Instructions
Overwrite the selected lines with new text. Amount of new lines can differ from the original selection
Args: new_lines (dict): Example: {"lines"}
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 |