edit_cell_content
Edit a Jupyter notebook cell's content by index and optionally run the code to see output immediately.
Instructions
Edit the content of a specific cell by its index and optionally execute it
Args:
index: The index of the cell to edit
content: The new content for the cell
execute: If True and the cell is code, execute after editing and return output
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": "edit_cell_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | ||
| content | Yes | ||
| execute | No |