add_cell
Insert a new code, markdown, or raw cell into the active Jupyter notebook at a chosen index; omit the index to append it.
Instructions
Insert after index, or append when index is omitted.
cell_type must be one of: code, markdown, raw.
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": {
"content": "<content>"
},
"name": "add_cell"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | ||
| content | Yes | ||
| cell_type | No | code |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |