insert
Use this tool to insert text at a specified line in a file by providing the file path, line number, and new text, ensuring precise file modifications.
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 |