add_code_cell
Add a new code cell to a Colab notebook. Requires an active browser connection to the notebook.
Instructions
Add a new code cell to the Colab notebook. 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": "add_code_cell"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| language | No | python | |
| cellIndex | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |