Keep the reviewed plan as a file (nothing in Fabric changes)
review_planBuilds a review file of the plan: each key and relationship with a review status and a check status, plus a Markdown report. Requires workspace and source. Returns JSON with the file, the report and what needs attention first, no row values. Changes nothing. 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": "review_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | No | Primary keys replacing the inferred ones. Default: inferred. Example: {"order_items": ["order_id", "line_no"]}. | |
| schema | No | Schema in the source. Default "dbo". | dbo |
| source | Yes | Lakehouse, warehouse or SQL database, name or id. | |
| tables | No | Table names or globs to show. Default all. Example: ["sales_*"]. | |
| previous | No | An earlier file from review_plan (object or JSON text); its decisions are applied again and checks on changed tables become stale. Default: none. Example: the "file" of the last answer. | |
| validate | No | true runs validate_plan's counting queries and includes the counts; false (default) reads metadata only. | |
| 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"]}]. | |
| decisions | No | Review decisions, [{"item", "review", "reason"}]; review is accepted, rejected, open or proposed; item ids are in the file. Default: none. Example: [{"item": "rel:orders.ship_to_id>addresses", "review": "accepted", "reason": "checked with sales"}]. | |
| max_items | No | Cap on counting queries (one per key and relationship), 1–200. Default 60. | |
| workspace | Yes | Fabric workspace, name or id. |