runtime_action
Manage a Colab notebook runtime by connecting, disconnecting, restarting, interrupting, deleting, or configuring CPU/GPU/TPU settings. Check runtime_status for completion or errors.
Instructions
Manage this notebook's runtime using the optional Chrome companion. Returns immediately; check runtime_status for completion or errors. Connect uses the notebook's selected runtime. Disconnect detaches the tab; delete releases its runtime and loses its files and memory. Restart clears kernel memory. Configure changes runtime settings and may replace a running runtime. GPU/TPU and high-memory availability depend on the user's account. The user handles any Colab permission or confirmation dialogs.
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": {
"action": "<action>"
},
"name": "runtime_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| accelerator | No | Configure only. Required when changing runtime settings. | |
| high_memory | No | Configure only; omitted preserves the setting. | |
| accelerator_model | No | Configure only. Colab's model identifier, e.g. T4; empty uses its default. |