run_code_cell
Run a code cell in a Colab notebook by providing its cell ID and get the output back.
Instructions
Executes the code in the cell with the provided cell ID. The cell must be a code cell type. The output of the cell execution is returned.
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": {
"cellId": "<cellId>"
},
"name": "run_code_cell"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cellId | Yes | The ID of the code cell to execute. |