notebook_read_cell
Read a specific cell's source code, type, tags, and saved outputs from a Jupyter notebook by providing the notebook path and cell index.
Instructions
Read the full source, type, tags, and saved outputs of a single cell.
Args: notebook_path: Path to the .ipynb file, relative to the workspace root. cell_index: Zero-based index of the cell (use notebook_list_cells to find it).
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>",
"cell_index": "<cell_index>"
},
"name": "notebook_read_cell"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cell_index | Yes | ||
| notebook_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |