download_file
Download a Colab file from a connected runtime to a local path, create missing parent directories, and return a transfer ID for progress checks; use overwrite=true to replace existing files.
Instructions
Download a Colab file to the local machine, creating parent directories as needed. Supports arbitrary file types. Requires the Chrome companion and a connected runtime. Returns a transfer_id immediately; use transfer_status to check progress. File bytes do not enter the conversation. Only one transfer runs at a time. Existing files require overwrite=true.
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": {
"local_path": "<local_path>",
"colab_path": "<colab_path>"
},
"name": "download_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| overwrite | No | ||
| colab_path | Yes | Absolute runtime file path, e.g. /content/data.zip. | |
| local_path | Yes | Absolute local file path. |