add_code_cell
Insert a code cell at a given index in a Colab notebook, shifting existing cells, and return the new cell ID.
Instructions
Inserts a code type cell at the provided index and shifts existing cells. The resulting new cell id is returned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cellIndex | Yes | The index at which to insert the cell. | |
| language | Yes | The programming language of the new cell. | |
| code | Yes | The code content of the new cell. |