discover_model
Discovers a Power BI semantic model's schema, including tables, columns, measures, and optional relationships, so you can understand the data model before writing DAX queries.
Instructions
Discover the schema of a Power BI semantic model using INFO.VIEW DAX functions. Returns tables, columns, measures, and relationships to help you understand the data model before writing DAX queries. Always call this tool first before writing DAX queries against a model.
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": {
"datasetId": "<datasetId>"
},
"name": "discover_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| datasetId | Yes | The dataset (semantic model) ID. | |
| workspaceId | No | The workspace (group) ID. Omit for 'My Workspace'. | |
| includeRelationships | No | Also return relationships between tables. Defaults to false. |