read_file
Reads a capped text slice from a file at a specified character offset, letting you inspect large files in controlled portions without loading the entire file.
Instructions
Read a capped text slice. offset is a character offset.
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 | File inside an allowed root. | |
| limit | No | Max characters. | |
| offset | No | Character offset. |