ipynb_read_notebook
Read a Jupyter Notebook file to return its structure summary, including cell count, cell types, kernel info, and format version.
Instructions
Read a Jupyter Notebook (.ipynb) and return structure summary.
Args: ipynb_filepath: Path to Jupyter Notebook (.ipynb) file (absolute path preferred)
Returns: Dictionary with cell_count, cell_types, kernel_info, format_version or dict with 'error' key on failure
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": {
"ipynb_filepath": "<ipynb_filepath>"
},
"name": "ipynb_read_notebook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ipynb_filepath | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||