colab_upload_file
Uploads base64-encoded file content into the runtime's sandboxed workspace, making it available for execution and file handling.
Instructions
Upload base64-encoded file content into the runtime's sandboxed workspace. Path is relative to the runtime's sandboxed workspace (e.g. /content/mcp_workspace).
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>",
"content_base64": "<content_base64>"
},
"name": "colab_upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| session_id | No | ||
| content_base64 | Yes |