line_edit
Modify specific lines in a file by number or range using actions like replace, delete, or insert. Streamline targeted file edits without full replacement.
Instructions
Edit specific lines by number or range
Input Schema
Name | Required | Description | Default |
---|---|---|---|
action | Yes | Action to perform | |
content | No | New content (for replace/insert actions) | |
file | Yes | File to edit | |
lineNumber | No | Line number to edit (1-based) | |
lineRange | No | Line range (e.g., "10,20" or "5,$") |