create_report
Create a new, valid .rdl file for Power BI Report Builder paginated reports with optional page setup and datasource configuration.
Instructions
Emit a minimal valid RDL from scratch at path. Refuses if path exists (no clobbering). Default page_setup is US Letter portrait with 1in margins; pass any subset of {page_height, page_width, margin_top, margin_bottom, margin_left, margin_right, body_width, body_height} to override. datasource is a forward-compat hook — pass {name, workspace_url, dataset_name, provider, integrated_security} to wire a real PBI XMLA endpoint (v0.4 commit 14); omit for a placeholder DataSource1 + DataSet1 stub the caller fills in via subsequent tools. Validates structurally + against the bundled XSD before saving (atomic .tmp + rename). Returns {path, validated, size_bytes}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| datasource | No | ||
| page_setup | No |