Read a line range
read_linesRead a specific range of lines from a file to retrieve only the needed code, reducing context usage.
Instructions
Read only lines [start..end] (1-indexed, inclusive) of a file. Cheaper than the whole 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>",
"start": "<start>",
"end": "<end>"
},
"name": "read_lines"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | ||
| path | Yes | ||
| start | Yes |