list_cells
List all notebook cells in a compact outline showing index, type, summary, and error status to quickly orient before editing.
Instructions
List every cell as a compact outline (cheap overview).
Returns index, id, type, summary, num_lines, has_outputs, has_error per cell.
id is the cell's stable identifier: unlike index it does NOT shift when
cells are inserted/deleted/moved, so prefer addressing later edits by id.
summary is the cell's leading # comment block (code) or leading lines
(markdown/raw); has_error flags code cells whose outputs contain an error.
Cell indices are 0-based. Call this first to orient before editing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |