read
Extract specific 1-based inclusive line ranges from a file with line numbers, enabling agents to inspect only the needed lines and conserve tokens.
Instructions
Read a line range of a file with line numbers ('start' and 'end' are 1-based, inclusive).
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>"
},
"name": "read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | ||
| path | Yes | ||
| start | No |