fabric_update_notebook_definition
Replace a notebook's cells with new code or markdown content, and optionally attach a default lakehouse for resolving unqualified table names.
Instructions
Replace a notebook's cells (long-running). Optionally attach a default lakehouse.
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": {
"notebookId": "<notebookId>",
"cells": "<cells>"
},
"name": "fabric_update_notebook_definition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notebookId | Yes | Notebook ID | |
| cells | Yes | Notebook cells (code/markdown) | |
| defaultLakehouse | No | Attach a default lakehouse so unqualified spark.sql() table names resolve | |
| workspace | No | Workspace ID (defaults to FABRIC_DEFAULT_WORKSPACE) |