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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Optional text printed before the restart. |