Skip to main content
Glama

overwrite_cell_source

Replace the content of a specific cell in an active Jupyter notebook and display a diff comparison showing what changed.

Instructions

Overwrite the source of a specific cell from the currently activated notebook. It will return a diff style comparison (e.g. + for new lines, - for deleted lines) of the cell's content

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cell_indexYesIndex of the cell to overwrite (0-based)
cell_sourceYesNew complete cell source

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/datalayer/jupyter-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server