run_code_cell
Run a code cell in an active Colab browser session by providing its cell ID, enabling direct execution of Python code.
Instructions
Execute a code cell in the Colab notebook by cellId (from add_code_cell or get_cells). Requires an active browser connection via open_colab_browser_connection.
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_code_cell"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cellId | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |