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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inspector | No | ||
| pbip_path | Yes | ||
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||