colab_restart_kernel
Restart a Colab session's Jupyter kernel to clear Python variables and state while keeping the VM and its files intact.
Instructions
Restart the Jupyter kernel of a session: clears all Python variables but keeps the VM and its files.
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": "colab_restart_kernel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |