ipynb_get_notebook_info
Get key notebook metadata from a .ipynb file: cell count, cell types, kernel, format version, and file size. Use it to assess notebook contents quickly.
Instructions
Get summary information about a Jupyter Notebook (.ipynb).
Args: ipynb_filepath: Path to Jupyter Notebook (.ipynb) file (absolute path preferred)
Returns: Dict with cell_count, cell_types, kernel, format_version, file_size or 'error' key
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_get_notebook_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ipynb_filepath | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||