notebook_run_pipeline
Execute cells tagged with a pipeline stage in a Jupyter notebook, in order. Supports configurable timeout, stop-on-error, and saving outputs.
Instructions
Run all cells tagged with a pipeline stage, in notebook order.
Pipeline stage tags are set per-cell in JupyterLab: View → Cell Toolbar → Tags (add e.g. 'preprocess', 'train', 'evaluate')
Use notebook_list_stages to see what stages exist in a notebook.
Args: notebook_path: Path to the .ipynb file, relative to the workspace root. stage: Tag name of the stage to run (e.g. 'preprocess'). kernel_name: Kernel to use (default: 'python3'). timeout: Per-cell timeout in seconds (default: 60). stop_on_error: Stop at first failing cell (default: true). save_outputs: Write outputs back to the .ipynb file (default: true).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stage | Yes | ||
| timeout | No | ||
| kernel_name | No | ||
| save_outputs | No | ||
| notebook_path | Yes | ||
| stop_on_error | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |