add_text_cell
Insert a text cell at a specified index in a Google Colab notebook, shifting existing cells as needed.
Instructions
Inserts a text type cell at the provided index and shifts existing cells. The resulting new cell id 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": {
"cellIndex": "<cellIndex>",
"content": "<content>"
},
"name": "add_text_cell"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cellIndex | Yes | The index at which to insert the cell. | |
| content | Yes | The content of the new cell. This can include Markdown and LaTeX syntax. |