read_file
Read a local file's contents with optional encoding and byte range (offset and limit) to retrieve text or binary data.
Instructions
Canonical local file read (use instead of hela-nucleus terminal_cat). Read file content with optional encoding and range
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 | Path to the file to read | |
| limit | No | Maximum number of bytes to read | |
| offset | No | Byte offset to start reading from | |
| encoding | No | File encoding | utf8 |