delete_lines_code
Delete specific lines from a file by providing the file path, start line, and end line. Removes the selected line range to modify files precisely.
Instructions
Delete specific lines from a file
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>",
"startLine": "<startLine>",
"endLine": "<endLine>"
},
"name": "delete_lines_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The path to the file to modify | |
| endLine | Yes | The end line number (1-based, inclusive) | |
| startLine | Yes | The start line number (1-based, inclusive) |