import_notebook
Import cells from a local .ipynb file into the current Colab notebook, with optional insertion index and ability to replace existing cells.
Instructions
Imports cells from a local .ipynb file into the current Colab notebook.
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": {
"path": "<path>"
},
"name": "import_notebook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Local path to the .ipynb file on the machine running Codex/MCP. | |
| cellIndex | No | Optional insertion index. Defaults to the end of the current notebook. | |
| replaceExisting | No | If true, delete current notebook cells before importing. |