Read text lines
file_read_linesReads a bounded line range from a UTF-8 file under the local read policy, enabling targeted inspection without loading the entire file.
Instructions
Read a bounded line range of a UTF-8 file under the local read policy.
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": "file_read_lines"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| max_lines | No | ||
| start_line | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| reason | Yes | ||
| content | Yes | ||
| end_line | Yes | ||
| next_line | Yes | ||
| truncated | Yes | ||
| start_line | Yes |