read_slice
Read a specific 1-based line range from a file to inspect only relevant code or log sections, reducing token use when full contents are unnecessary.
Instructions
Lines start-end (1-based, max 400).
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": "read_slice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File | |
| endLine | Yes | ||
| startLine | Yes |