colab_download_dir
Download an entire Google Colab VM folder as a single zip into a local working-directory folder, rejecting archives with unsafe paths or over the download size limit.
Instructions
Download a whole VM folder into local_dir (inside the working directory) via one zip. Refuses archives whose paths escape the target or exceed COLAB_MCP_MAX_DOWNLOAD_MB (default 1024).
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": {
"remote_dir": "<remote_dir>",
"local_dir": "<local_dir>"
},
"name": "colab_download_dir"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | No | ||
| local_dir | Yes | ||
| remote_dir | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |