delete_lines
Remove specified lines in a file by defining start and end indices. Requires prior verification with the read_file
tool to ensure accurate deletion within the Serena MCP Server environment.
Instructions
Deletes the given lines in the file.
Requires that the same range of lines was previously read using the read_file
tool to verify correctness
of the operation.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
end_line | Yes | The 0-based index of the last line to be deleted. | |
relative_path | Yes | The relative path to the file. | |
start_line | Yes | The 0-based index of the first line to be deleted. |