colab_fs_read
Read a file's content from a Google Colab runtime using byte offset and limit. Supports session-based tracking to continue reading from a saved position.
Instructions
Read a chunk. Keep next_offset; after incarnation change restart from restored source.
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": "colab_fs_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Runtime path confined to /content; relative paths resolve under /content. | |
| limit | No | Maximum bytes returned as base64. | |
| offset | No | Byte offset; defaults to zero. | |
| session | No | Tracked session name. Null is allowed only when exactly one session exists. |