Skip to content

Tool

preview_template

Preview template

Read-onlyIdempotent
SurfacesChat agentMCPCLI

Render a template's merge-tag HTML with sample data to see what a recipient would receive. Pass a saved template `id`, or raw `html` to preview an unsaved draft.

CLI: tinbox preview-template

Parameters

NameTypeRequiredDescription
idstringnoA saved template id to render.
htmlstringnoRaw merge-tag HTML to render (instead of a saved template).