read_file
Reads a text file in bounded chunks, returning up to 800 lines or 46,080 bytes and supporting optional start/end line and byte offset.
Instructions
Read a text file. Each call returns at most 800 lines or 46080 bytes.
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_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Path | Yes | Absolute path of the file. | |
| EndLine | No | Last line to read, inclusive. | |
| StartLine | No | First line to read, starting at 1. | |
| ByteOffset | No | Byte offset into the selected text. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |