Compare today's plan with an existing GraphQL API
plan_driftCompares today's plan with an existing API for GraphQL item: new tables and columns, mapped columns the source no longer has, relationships the plan no longer supports, and whether create_backend with that name would change anything. Requires workspace, source and api. Returns JSON. Changes nothing; lineage shows what else builds on the tables. 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>",
"api": "<api>"
},
"name": "plan_drift"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api | Yes | Existing API for GraphQL item to compare with, by name or id. Example: "shop_api". | |
| 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 | Exact table names to include. Default all. | |
| writable | No | Whether the update create_backend would make includes mutations, as its writable. Default false. Example: true. | |
| 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. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |