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.
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": {
"path": "<path>"
},
"name": "list_cells"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |