generate_data_dictionary
Generate Markdown data dictionaries and Mermaid ER diagrams for Power BI semantic models. Document tables, columns, types, and descriptions.
Instructions
Generate Markdown documentation and Mermaid ER diagram for a semantic model.
Use this tool when the user asks to:
Document a Power BI dataset or semantic model.
Generate a data dictionary listing all tables, columns, types, and descriptions.
Create a Mermaid entity-relationship (ER) diagram of the model.
Args: pbip_path: Path to the .pbip directory. output_path: Optional file path to save the generated Markdown. inspector: Optional model inspector.
Returns: Dict with data dictionary markdown content, table count, measure count, and output path.
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": {
"pbip_path": "<pbip_path>"
},
"name": "generate_data_dictionary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inspector | No | ||
| pbip_path | Yes | ||
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||