notebook_split_cell
Divide a Jupyter notebook cell into two separate cells by specifying the exact line number where the split should occur.
Instructions
Splits a cell into two at a specified line number
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>",
"cell_index": "<cell_index>",
"line_number": "<line_number>"
},
"name": "notebook_split_cell"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the notebook | |
| cell_index | Yes | Index of the cell to split | |
| line_number | Yes | Line number at which to split |