restart_runtime
Restart the Python runtime to clear state and environment variables in Google Colab without closing the notebook.
Instructions
Restarts the current Colab Python runtime. The notebook page stays open, but the runtime state and environment variables are reset.
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": "restart_runtime"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Optional text printed before the restart. |