Create or update the nightly drift monitor in Fabric (dry run by default)
create_drift_monitorCreates drift_monitor_draft's notebook and pipeline, or updates the items of those names in place; with schedule=true also adds a daily schedule unless one at that time exists. Requires workspace, a lakehouse source and name; Notebook.ReadWrite.All and DataPipeline.ReadWrite.All (or Item.ReadWrite.All), and Contributor. schedule is false by default: the schedule needs DataPipeline.Execute.All, which the hosted app does not request. Returns JSON with the items and REST calls; with dry_run=false also each step's result. Changes Fabric only with dry_run=false: the two items' definitions are replaced, existing schedules are kept, nothing is deleted and no secret is written. Errors: {error, kind, hint}.
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": "<workspace>",
"source": "<source>",
"name": "<name>"
},
"name": "create_drift_monitor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | Daily run time, hh:mm in time_zone. Default "02:00". Example: "05:30". | 02:00 |
| name | Yes | Base name of the notebook and pipeline; existing items with these names are updated in place. Example: "drift_shop". | |
| schema | No | Schema in the source. Default "dbo". | dbo |
| source | Yes | Lakehouse, warehouse or SQL database, name or id. | |
| dry_run | No | true (default) returns what would be created and the REST calls, changing nothing; false creates or updates. | |
| schedule | No | false (default) creates the items without a schedule: a schedule needs DataPipeline.Execute.All, which the hosted app does not request; true adds the daily schedule where that permission is granted. Example: true. | |
| time_zone | No | Windows time zone id for `at`. Default "W. Europe Standard Time". Example: "UTC". | W. Europe Standard Time |
| workspace | Yes | Fabric workspace, name or id. | |
| library_ref | No | Git tag, branch or commit of fabric-backend that the notebook installs. Default: the tag of this server's version. Example: "main". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |