read_file_chunk
Read paginated data from a spilled file (stdout or stderr) using a cursor and byte limit to safely stream contents.
Instructions
Reads paginated data from a spilled file (stdout or stderr). Accepts cursor and limit_bytes to safely stream contents.
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": {
"uri": "<uri>"
},
"name": "read_file_chunk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | Yes | URI of the spilled file (e.g., 'mcp://tmp/exec-abc123.out' or 'mcp://tmp/exec-abc123.err') | |
| cursor | No | Position marker indicating where to start reading from the file. | |
| limit_bytes | No | Maximum bytes to read |