move_cell
Move a Jupyter notebook cell to a specified index position by providing its current index or stable ID. Optionally guard against concurrent edits with an expected revision.
Instructions
Move a cell to to_index (final position, 0-based).
Address the moved cell by from_index OR from_id (stable id; exactly one);
the destination to_index is always positional. Does not clear outputs.
Optionally pass expected_rev to guard against concurrent external edits.
Returns the new rev.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| from_id | No | ||
| to_index | Yes | ||
| from_index | No | ||
| expected_rev | No |