upload_file
Copies a local file into a Colab notebook runtime filesystem, transferring it in base64 chunks and verifying the SHA-256 hash after upload.
Instructions
Copy a local file into the notebook runtime's filesystem (e.g. /content/data.csv).
Transfers in base64 chunks through temporary cells and verifies the SHA-256 on the runtime afterwards.
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>",
"remote_path": "<remote_path>"
},
"name": "upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| overwrite | No | ||
| local_path | Yes | ||
| remote_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||