delete_cell
Remove a cell from a notebook using its index or cell ID. Optionally specify an expected revision to prevent conflicts from concurrent edits.
Instructions
Delete a cell, addressed by index (0-based) OR cell_id (exactly one).
Prefer cell_id from list_cells — an id can't drift onto the wrong cell the
way a stale index can. Optionally pass expected_rev to guard against
concurrent external edits. Returns the new rev.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| index | No | ||
| cell_id | No | ||
| expected_rev | No |