list_templates
List Power BI dashboard templates
Search VizForge's free Power BI report templates (61 designed pages). Use this when someone wants a starting layout for a Power BI report or dashboard, e.g. "a dark finance dashboard with 4 KPIs". Filter by category, industry words, light/dark mode, accent colour, KPI-card count and whether a PBIP with sample data ships. Returns slugs plus page, preview-image and open-in-studio URLs; call get_template for one template's details.
| Parameter | Type | What it does |
|---|
| query | string | Free-text words matched against title, summary, tags and category, e.g. "churn" or "hospital beds". |
| category | one of 22 values | Template category (department or industry). |
| industry | string | Industry or department words, e.g. "healthcare", "retail", "hr". Matched against category labels and tags. |
| mode | light | dark | Light or dark page. |
| colour | one of 9 values | Dominant accent colour family. |
| kpiCount | integer 0–12 | Exact number of KPI cards on the page. |
| minKpis | integer 0–12 | At least this many KPI cards. |
| maxKpis | integer 0–12 | At most this many KPI cards. |
| hasSampleData | boolean | Only templates that download as a PBIP with a bound sample semantic model. |
| limit | integer 1–60 | Maximum results (default 12). |
Try: “Find me a dark Power BI template for a hospital with at least 4 KPI cards.”
get_template
Get one template
Details of one VizForge Power BI template by slug (from list_templates): what the page is for, its layout, suggested DAX measures, the sample semantic model (tables, measures, relationships) when one ships, and URLs for the template page (free downloads: PBIP with sample data, empty PBIP, PNG/SVG background, theme JSON), the preview image, and the Design Studio (light and dark versions). Use it before recommending or explaining a specific template.
| Parameter | Type | What it does |
|---|
| slugrequired | string | Template slug, e.g. from list_templates. |
Try: “What's in the VizForge CFO overview template and which measures does it use?”
list_themes
List Power BI themes
Search VizForge's 80 free Power BI report themes (contrast-checked theme JSON). Use this when someone wants a ready-made Power BI theme by mode (light/dark), accent colour or colour-blind safety. Returns slugs, colours and fonts; call get_theme_json for the importable JSON.
| Parameter | Type | What it does |
|---|
| query | string | Words matched against title, summary and tags. |
| mode | light | dark | |
| colour | one of 9 values | Accent colour family. |
| colorBlindSafe | boolean | Only palettes built on a published colour-blind-safe scheme. |
| limit | integer 1–60 | |
Try: “List dark Power BI themes with a teal accent.”
get_theme_json
Get a theme's Power BI JSON
The full Power BI report theme JSON for one VizForge catalog theme (dataColors, good/neutral/bad, textClasses, visualStyles with transparent visual backgrounds), exactly as the theme page downloads it. Use it when the user wants to import a theme: save the JSON as a .json file and use Power BI Desktop → View → Themes → Browse for themes.
| Parameter | Type | What it does |
|---|
| slugrequired | one of 80 values | Theme slug from list_themes. |
Try: “Give me the Power BI theme JSON for VizForge's Okabe-Ito colour-blind-safe theme.”
generate_theme_from_colors
Power BI theme from brand colours
Turn brand colours (a hex list, a coolors.co link or any text containing hex codes) into a Power BI theme JSON: the colours become dataColors, an accent is picked, and every text and data colour that misses WCAG AA contrast is darkened or lightened without changing its hue; the page background may be tinted and the good/neutral/bad status colours adjusted too (every change is listed). Use it when someone gives you their brand palette and wants a Power BI theme. Same code as the Design Studio's brand import and “Upgrade theme”.
| Parameter | Type | What it does |
|---|
| colors | list of string | Hex colours, e.g. ["#0B5394", "#F1C232"]. The first 12 become data colours. |
| coolorsUrl | string | A coolors.co palette URL. |
| text | string | Free text containing hex codes (e.g. pasted brand guidelines). |
| name | string | Theme name. Default "Brand theme". |
| mode | light | dark | Page mode. Default light. |
Try: “Make a Power BI theme from our brand colours #0B5394, #F1C232 and #38761D.”
build_layout
Build a Power BI page design
Generate a Power BI report page design from a few choices: KPI-card count (0–10), chart types (1–6), slicers, a left sidebar style, page size, card style and brand colours or a catalog theme. Returns a vizforge.ai/design link that opens the design as the user's own editable copy (nothing is stored on the server; the design is encoded in the link), the page background SVG (the shapes Power BI shows behind visuals), the matching theme JSON and a Design Check score. Use it when someone asks for a dashboard layout, a page background, or a mock-up in their brand.
| Parameter | Type | What it does |
|---|
| kpis | integer 0–10 | Number of KPI cards. |
| kpiTitles | list of string | KPI card titles, e.g. ["Revenue", "Margin %"]. |
| kpiPlacement | top | left | |
| charts | list of one of 14 values | Chart slots in order. |
| chartTitles | list of string | Titles for the chart slots, by index. |
| slicers | integer 0–4 | |
| sidebar | none | wide | compact | rail | Left rail: wide (title, nav, filters), compact, rail (icons only) or none. |
| header | bar | minimal | tabs | none | |
| style | cards | flat | glass | bold | |
| density | compact | comfortable | spacious | |
| pageSize | one of 9 values | Page preset: 16:9 = 1280×720, 16:9-1600 = 1600×900, 16:9-hd = 1920×1080, 16:9-qhd = 2560×1440, 4:3 = 960×720, 4:3-hd = 1440×1080, letter = 816×1056, tall = 1920×2160, phone = 720×1280. |
| brandColors | list of string | Brand hex colours (contrast-fixed like generate_theme_from_colors). Overrides themeSlug. |
| themeSlug | one of 80 values | A catalog theme from list_themes. |
| mode | light | dark | Light or dark page (re-solves the theme for that mode). |
| title | string | Report title in the header. |
| subtitle | string | |
| includeBackgroundSvg | boolean | Inline the background SVG (set false to keep the result small). |
| includeThemeJson | boolean | Inline the theme JSON. |
Try: “Design a 1920×1080 Power BI page in our colours #0F4C81 and #F5A623 with 5 KPIs, a wide sidebar, a line chart and a table.”
dax_svg_measure
DAX SVG measure
Write a DAX measure that draws a small SVG chart inside a Power BI table, matrix or card (set the measure's Data category to Image URL). 17 patterns: sparkline (Sparkline (line)), sparkline-area (Sparkline (area)), column-sparkline (Column sparkline (small multiple bars)), win-loss (Win/loss bars), bullet-chart (Bullet chart), progress-bar (Progress bar), progress-ring (Progress ring), data-bar-target (Data bar with target), kpi-delta-badge (KPI arrow / delta badge), traffic-light (Traffic light / RAG dot), status-pill (Status pill), rating-stars (Rating stars), icon-value (Icon + value), variance-bar (Variance bar (IBCS style)), dumbbell (Dumbbell (before / after)), mini-donut (Mini donut), kpi-card (KPI card (value, delta, sparkline)). Returns the measure, a DAX user-defined function (UDF) version, the SVG it renders for sample data and a link to the visual builder. Use it when someone wants sparklines, bullet charts, progress bars, status pills or KPI cards in a Power BI table without a custom visual. Pass options to set the measure/column references (e.g. {"value": "[Sales]", "axis": "'Date'[Month]"}); unknown option keys are listed in the result.
| Parameter | Type | What it does |
|---|
| patternrequired | one of 17 values | Pattern slug. |
| measureName | string | Name of the generated measure. |
| options | object | Pattern options by key (field references, colours as #RRGGBB, numbers, choices). Call once without options to see each option's key, type and default in the result. |
| palette | powerbi | ibcs | Default colours: Power BI default or IBCS. |
| themeSlug | one of 80 values | Use a catalog theme's colours instead of a palette. |
| includeUdf | boolean | |
Try: “Write a DAX sparkline measure for [Revenue] by 'Date'[Month] in our report.”
check_design
Design Check a page design
Score a VizForge page design 0–100 with Design Check (the same deterministic check as the Design Studio): grid alignment, gutters, text contrast against the actual background, minimum font size for the page size, number of colours and fonts, KPI count. Input is a VizForge design link (vizforge.ai/design?d=… or /design/s?d=…, e.g. from build_layout) or the design document JSON. Use it to review a design before exporting, or after changing one.
| Parameter | Type | What it does |
|---|
| link | string | A VizForge design/share link containing ?d=…, or the bare share payload. |
| doc | object | A VizForge design document (CanvasDoc JSON, as in a .vizforge.json export). |
Try: “Check this VizForge design link and tell me what to fix before I export it.”
search_site
Search vizforge.ai
Search everything on vizforge.ai (the same index as the site's ⌘K palette): templates, themes, backgrounds, icons, KPI card designs, DAX SVG measure patterns, Power BI how-to guides, custom-visual pages, comparisons, docs and tools. Use it to find the right VizForge page for a Power BI question; then call get_page_markdown on a result to read it.
| Parameter | Type | What it does |
|---|
| queryrequired | string | Search words, e.g. "gantt chart" or "page size". |
| limit | integer 1–40 | |
Try: “Does VizForge have a guide for making a Sankey diagram in Power BI?”
get_page_markdown
Read a VizForge page
Read a vizforge.ai docs page as Markdown, from the site's llms-full.txt digest: how-to guides, custom-visual reference pages, templates, comparisons, use cases, industries, blog posts, and whole sections such as "Pricing", "Templates" or "How-to guides". Pass a URL or path from search_site, or a section name. Use it to answer questions about VizForge or Power BI design accurately and cite the page.
| Parameter | Type | What it does |
|---|
| path | string | Site path or full vizforge.ai URL, e.g. /how-to/sankey-diagram-in-power-bi. |
| section | string | A digest section, e.g. "Pricing", "How-to guides", "Comparisons". Call with neither argument to list sections. |
Try: “Read VizForge's guide on Power BI page sizes and summarise it.”