Create or update the gold-views notebook in Fabric (dry run by default)
create_gold_viewsCreates a Fabric notebook item with gold_views_draft's notebook, or updates the notebook of that name in place. Requires workspace, a lakehouse source with schemas and name; Notebook.ReadWrite.All or Item.ReadWrite.All and Contributor. Returns JSON with the views, the notebook and the REST call; with dry_run=false also the result. Changes Fabric only with dry_run=false: the notebook's content is replaced, no item is deleted, and nothing runs; when run, it stops before writing over a table it did not create. 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_gold_views"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | No | Primary keys replacing the inferred ones. Default: inferred. Example: {"order_items": ["order_id", "line_no"]}. | |
| name | Yes | Display name of the notebook item; an existing item with this name is updated in place. Example: "gold_shop". | |
| schema | No | Schema in the source. Default "dbo". | dbo |
| source | Yes | Lakehouse, warehouse or SQL database, name or id. | |
| tables | No | Exact table names to include. Default all. | |
| dry_run | No | true (default) returns what would be created and the REST calls, changing nothing; false creates or updates. | |
| confirmed | No | Relationships the user confirmed, added to the plan. Default none. Example: [{"source": "orders", "source_cols": ["ship_to_id"], "target": "addresses", "target_cols": ["address_id"]}]. | |
| workspace | Yes | Fabric workspace, name or id. | |
| gold_schema | No | Lakehouse schema for the gold views. Default "gold". Example: "gold". | gold |
| silver_schema | No | Lakehouse schema with the silver tables create_silver_notebook writes. Default "silver". | silver |
| show_personal_data | No | true includes columns named like personal data; false (default) masks or omits them. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |