notebook_edit_cell
Replace the source of a notebook cell by index to update code or fix errors without rewriting the full notebook.
Instructions
Replace the source of cell index in a notebook.
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>",
"index": "<index>",
"source": "<source>"
},
"name": "notebook_edit_cell"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| index | Yes | ||
| source | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |