execute_entire_notebook
Execute all code cells in a Jupyter notebook sequentially, with configurable timeout, kernel, and stop-on-error. Returns an execution summary.
Instructions
Execute all code cells in a Jupyter notebook sequentially.
Args:
notebook_path: Absolute path to the .ipynb file
kernel_name: Jupyter kernel to use for execution
timeout_per_cell: Timeout per cell in seconds
stop_on_error: Whether to stop execution if a cell fails
Returns:
Execution summary with results for each cell
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>"
},
"name": "execute_entire_notebook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kernel_name | No | python3 | |
| notebook_path | Yes | ||
| stop_on_error | No | ||
| timeout_per_cell | No |