run_cells
Execute code cells in a Colab notebook sequentially by ID, index range, or all, with background execution for long-running tasks.
Instructions
Run code cells in order: by id list, or by index range (end exclusive), or all.
Each cell blocks until it finishes. For anything that may take more than a minute set background=True and poll job_status; Colab cannot be interrupted through this bridge, so cancel only stops scheduling the next cell.
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": "run_cells"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cell_ids | No | ||
| end_index | No | ||
| background | No | ||
| start_index | No | ||
| stop_on_error | No | ||
| max_output_chars | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||