download_file
Retrieve file contents from a Colab runtime as base64 without using a cell execution slot. Access files via the download API for efficient transfer.
Instructions
Reads a file from the Colab runtime through Colab's /files download API and returns base64 content without consuming a notebook cell execution slot.
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": "download_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| offset | No | ||
| maxBytes | No |