notebook_duplicate_cell
Duplicate a specific cell in a Jupyter notebook by its index. Optionally specify the number of times to repeat the duplication.
Instructions
Duplicates a cell multiple times (default: once)
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>"
},
"name": "notebook_duplicate_cell"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the notebook | |
| count | No | Number of times to duplicate the cell | |
| cell_index | Yes | Index of the cell to duplicate |