render_html_page
Render a styled HTML page from body content using a design system with themes, cards, grids, and navigation. No Docker required.
Instructions
Render a self-contained themed HTML page from body content. No Docker required. Wraps your HTML in a design system with typography, depth tiers, cards, grids, KPIs, badges, and section navigation. IMPORTANT: body_html is the INNER content only — do NOT include , , or tags. Use mf- prefixed CSS classes: mf-hero, mf-elevated, mf-card, mf-grid, mf-kpi, mf-badge-success, etc. Themes: swiss (clean docs), midnight (presentations), warm (reports), terminal (dev content). Call get_tool_guide('html_page') for design system reference and examples.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| theme | No | Visual theme: swiss=clean docs, midnight=dark editorial, warm=cream reports, terminal=dev monospace | swiss |
| title | Yes | Page title (shown in header and browser tab) | |
| body_html | Yes | HTML body content (inner content only, no <html>/<head>/<body>). Use mf- prefixed classes for styling. | |
| description | No | Page description (shown below title and in meta tag) | |
| nav_sections | No | Section names for floating navigation. Must match id attributes on <section> elements in body_html. |