replace_cell
Replace the entire source of a Jupyter notebook cell by its index to update or overwrite code or markdown content in the active session.
Instructions
Replace the full source of the cell at the given index.
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": {
"index": "<index>",
"content": "<content>"
},
"name": "replace_cell"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | ||
| content | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||