notebook_list_cells
List all cells in a notebook to see their index, type, tags, and first line. Use this to understand notebook structure before reading or editing specific cells.
Instructions
List every cell in a notebook with its index, type, tags, and first line.
Call this first to understand the structure before reading or editing specific cells.
Args: notebook_path: Path to the .ipynb file, relative to the workspace root.
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_path": "<notebook_path>"
},
"name": "notebook_list_cells"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notebook_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |