delete_cell
Delete a cell from a running marimo notebook by specifying the notebook path and cell ID (obtain IDs with get_cells).
Instructions
Delete a cell from a running notebook.
Args: notebook: Path to the notebook file or port number. cell_id: The cell ID to delete (get IDs from get_cells first).
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": {
"notebook": "<notebook>",
"cell_id": "<cell_id>"
},
"name": "delete_cell"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notebook | Yes | ||
| cell_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |