Render Infographic
render_infographicConverts DSL syntax into a PNG infographic, producing charts, diagrams, and visual layouts for automated reporting.
Instructions
Render an infographic from DSL syntax and return as PNG image.
DSL syntax format (space-separated key-value, NOT YAML colon format):
infographic <template-name>
data
title My Title
desc My Description
items
- label Item 1
desc Description 1
value 100
icon mdi/icon-name
- label Item 2
desc Description 2
theme
palette #3b82f6 #8b5cf6 #f97316Available templates include:
list-row-horizontal-icon-arrow
sequence-zigzag-steps-underline-text
compare-binary-horizontal-simple-fold
chart-pie-plain-text
hierarchy-tree-curved-line-rounded-rect-node
And more (~200 templates available)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | Image width in pixels | |
| height | No | Image height in pixels | |
| syntax | Yes | Infographic DSL syntax string | |
| background | No | Background color (e.g., "white", "#f5f5f5", "transparent") | white |