Skip to main content
Glama

delete_cell

Remove specific cells from a Jupyter notebook and optionally retrieve their source code for reference or reuse.

Instructions

Delete specific cells from the currently activated notebook and return the cell source of deleted cells (if include_source=True).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cell_indicesYesList of cell indices to delete (0-based)
include_sourceNoWhether to include the source of deleted cells

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