upload_file
Upload base64-encoded files to a Colab runtime without consuming a notebook cell execution slot.
Instructions
Writes a base64 encoded file into the Colab runtime through Colab's browser file upload API 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>",
"contentBase64": "<contentBase64>"
},
"name": "upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| contentBase64 | Yes | ||
| overwrite | No | ||
| makeParents | No |