colab_notebook_add_cell
Insert a code or markdown cell into a Colab notebook at the end, or place it at a specific position or after a given cell.
Instructions
Insert a cell. Default is at the end; or give position (index) or after (cell id/index). cell_type: code or markdown.
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": {
"path": "<path>",
"source": "<source>"
},
"name": "colab_notebook_add_cell"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| after | No | ||
| source | Yes | ||
| position | No | ||
| cell_type | No | code |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |