colab_run_training
Submit Python training code to a Colab runtime as a background job, returning a job ID for instant polling of status and logs.
Instructions
Start a training run as a background job: submits Python training code (any framework) to a runtime session and returns a job_id immediately. Poll with colab_get_job / colab_get_logs.
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": {
"code": "<code>"
},
"name": "colab_run_training"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Full training script to execute. | |
| session_id | No | ||
| timeout_seconds | No |