colab_execute_notebook
Execute notebook cells in a Colab runtime, writing results to an output .ipynb file. Keeps a checkpoint on failure for reliable reruns.
Instructions
Execute notebook cells. On failure keep the input/output checkpoint; reacquire and rerun deliberately.
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": {
"source": "<source>",
"output": "<output>"
},
"name": "colab_execute_notebook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output | Yes | Local output .ipynb path to create or replace. | |
| source | Yes | Existing local .ipynb input path. | |
| session | No | Tracked session name. Null is allowed only when exactly one session exists. | |
| cell_timeout | No | Maximum seconds per code cell. |