read_large_file_chunk
Read a specific chunk of a large file, with automatic optimal chunk size based on file type, and options for chunk index, lines per chunk, and line numbers.
Instructions
Read a specific chunk of a large file with intelligent chunking based on file type. Automatically determines optimal chunk size.
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": {
"filePath": "<filePath>"
},
"name": "read_large_file_chunk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Absolute path to the file | |
| chunkIndex | No | Zero-based chunk index to read (default: 0) | |
| linesPerChunk | No | Number of lines per chunk (optional, auto-detected if not provided) | |
| includeLineNumbers | No | Include line numbers in output (default: false) |