colab_run
Run a local script on a fresh Colab VM, pass arguments, then release the VM or keep it for follow-up work.
Instructions
One-shot job: allocate a fresh VM, run a local script (inside the working directory) with args, then release the VM (or keep it with keep=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": {
"script": "<script>"
},
"name": "colab_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gpu | No | ||
| args | No | ||
| keep | No | ||
| script | Yes | ||
| timeout | No | ||
| high_mem | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |