canvas_render_layout
Render HTML/CSS templates or raw HTML to pixel-perfect marketing images for banners and responsive layouts.
Instructions
Render HTML/CSS templates or raw HTML to pixel-perfect marketing images.
Use when: The user explicitly asks for a designed layout, template render, banner with specific typography, or HTML/CSS composition. This is a deterministic renderer, NOT AI generation.
Do not use when: The user wants AI-generated photography or illustrations. For those, use canvas_create_image (direct or plan-based).
Example: canvas_render_layout(template="hero_banner", variables={"headline": "Launch Day"}, brand_kit_id="acme")
IMPORTANT: After this tool returns, ALWAYS open the rendered image(s) in Preview (macOS) or the system image viewer so the user can review the output. Use: open -a Preview
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |