colab_run_job
Run isolated builds and tests on a shared Colab VM with CPU/GPU/TPU options, workspace sync, artifact collection, and wait or async job modes.
Instructions
Build or test on a shared Colab VM. Defaults to CPU, syncing an absolute local workspace, and waiting up to 300 seconds. Async returns a job ID. cwd and artifactPaths are workspace-relative.
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": {
"command": "<command>"
},
"name": "colab_run_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | ||
| env | No | ||
| mode | No | wait | |
| command | Yes | ||
| hardware | No | cpu | |
| artifactPaths | No | ||
| syncWorkspace | No | ||
| workspacePath | No | ||
| timeoutSeconds | No |