notebook_read
Read Jupyter notebook cells with optional source and output detail. Retrieve cell indexes, types, and outputs, including images, for inspection or downstream processing.
Instructions
Read a Jupyter notebook: cell index, type, source and existing outputs. Set include_outputs='full' to get a cell's outputs including images.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Notebook path (absolute, or relative to the server root) | |
| cell_indexes | No | 0-based cell indexes to read; omit for all cells. This is an integer array — do not pass a range string. | |
| include_source | No | Source detail: 'none' | 'preview' (default) | 'full' | |
| include_outputs | No | Output detail: 'none' | 'summary' (default) | 'full' | |
| expected_content_hash | No | Optional optimistic-lock hash |