add_notebook_activity_to_pipeline
Add a notebook activity to an existing Microsoft Fabric pipeline to run data analysis or processing tasks as part of workflow automation.
Instructions
Add a Notebook Activity to an existing Fabric pipeline.
Retrieves an existing pipeline, adds a Notebook Activity to it, and updates the pipeline definition. The Notebook Activity will be appended to any existing activities in the pipeline.
Use this tool when:
You have an existing pipeline and want to add a new Notebook Activity
You're building complex pipelines with multiple activities
You want to incrementally build a pipeline
Parameters: workspace_name: The display name of the workspace containing the pipeline. pipeline_name: Name of the existing pipeline to update. notebook_name: Name of the notebook to run. notebook_workspace_name: Optional name of the workspace containing the notebook. activity_name: Optional custom name for the activity (default: auto-generated). depends_on_activity_name: Optional name of an existing activity this one depends on. session_tag: Optional session tag for the notebook execution. parameters: Optional parameters to pass to the notebook. timeout: Activity timeout (default: "0.12:00:00"). retry: Number of retry attempts (default: 0). retry_interval_seconds: Retry interval in seconds (default: 30).
Returns: Dictionary with status, pipeline_id, pipeline_name, activity_name, workspace_name, and message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace_name | Yes | ||
| pipeline_name | Yes | ||
| notebook_name | Yes | ||
| notebook_workspace_name | No | ||
| activity_name | No | ||
| depends_on_activity_name | No | ||
| session_tag | No | ||
| parameters | No | ||
| timeout | No | 0.12:00:00 | |
| retry | No | ||
| retry_interval_seconds | No |