ipynb_get_metadata
Retrieve metadata from Jupyter Notebook files or specific cells by providing the file path and optional cell index.
Instructions
Get Jupyter Notebook (.ipynb) or cell metadata.
Args: ipynb_filepath: Path to Jupyter Notebook (.ipynb) file (absolute path preferred) cell_index: Index of cell (None for notebook metadata)
Returns: Metadata dictionary or dict with '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_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cell_index | No | ||
| ipynb_filepath | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||