Draft a nightly drift monitor: notebook, pipeline and schedule (nothing created)
drift_monitor_draftDrafts a nightly Fabric notebook and pipeline that read the lakehouse schema, compare the plan with the last one saved in krusgraph.plans and post a summary to a webhook set as a pipeline parameter. Requires workspace and a lakehouse source. Returns JSON with the notebook, the pipeline definition and the schedule. Changes nothing; create_drift_monitor creates the items. 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": "drift_monitor_draft"
}
}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 | No | Base name of the notebook and pipeline. Default "" (drift_monitor_<schema>). Example: "drift_shop". | |
| schema | No | Schema in the source. Default "dbo". | dbo |
| source | Yes | Lakehouse, warehouse or SQL database, name or id. | |
| 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 |