Import Notebook to Fabric Workspace
import_notebook_to_fabricUpload local Jupyter notebooks to Microsoft Fabric workspaces for data analysis and engineering workflows. Transfer .ipynb files with optional folder organization and descriptions.
Instructions
Upload a local .ipynb into a Fabric workspace identified by name.
Imports a Jupyter notebook from the local filesystem into a Microsoft Fabric workspace. The notebook file must be in .ipynb format. The notebook can be organized into folders using forward slashes in the display name (e.g., "demos/hello_world").
Parameters: workspace_name: The display name of the target workspace (case-sensitive as shown in Fabric). notebook_display_name: Desired name (optionally with folders, e.g. "demos/hello_world") inside Fabric. local_notebook_path: Path to the notebook file (absolute or repo-relative). description: Optional description for the notebook.
Returns: Dictionary with status, message, and artifact_id if successful.
Example:
python result = import_notebook_to_fabric( workspace_name="My Workspace", notebook_display_name="analysis/customer_analysis", local_notebook_path="notebooks/customer_analysis.ipynb", description="Customer behavior analysis 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": {
"workspace_name": "<workspace_name>",
"notebook_display_name": "<notebook_display_name>",
"local_notebook_path": "<local_notebook_path>"
},
"name": "import_notebook_to_fabric"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace_name | Yes | ||
| notebook_display_name | Yes | ||
| local_notebook_path | Yes | ||
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||