connect_runtime
Connects or reconnects the Colab Python runtime using the browser, then waits for kernel.runtime to become accessible to terminal tools. Configurable wait timeout.
Instructions
Uses the controlled Colab browser to connect or reconnect the Colab Python runtime, then waits until terminal-backed runtime tools can see kernel.runtime.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "connect_runtime"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| waitSeconds | No | Maximum seconds to wait for Colab to expose a real Python runtime after clicking Connect/Reconnect. |