Draft a Fabric IQ ontology from the plan (nothing deployed)
ontology_draftDrafts a Fabric IQ ontology (preview) from the plan: entity types with keys, relationship types and bindings. Requires workspace and source. Returns JSON with a summary (the rule behind each key and link), the binding checklist, a Turtle file for Import ontology and the item definition parts. Changes nothing; create_ontology creates the item. 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": "ontology_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | No | Primary keys replacing the inferred ones. Default: inferred. Example: {"order_items": ["order_id", "line_no"]}. | |
| name | No | Name of the ontology in the draft. Default "ontology". Example: "shop_ontology". | ontology |
| 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. | |
| 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. |