jupyter_update_cell
Modify the content of a specific cell in a Jupyter notebook by providing the notebook path, cell index, and new source code.
Instructions
Update content of an existing cell.
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": {
"notebook_path": "<notebook_path>",
"cell_index": "<cell_index>",
"source": "<source>"
},
"name": "jupyter_update_cell"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notebook_path | Yes | Path to the notebook | |
| cell_index | Yes | Index of the cell to update (0-based) | |
| source | Yes | New cell content |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |