generate_from_template
Render a saved template to HTML, PDF, PNG, JPEG or WEBP. Document formats return a temporary download URL; html returns the rendered markup. Pass template variables and any conversion option as extra properties.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"slug": "<slug>"
},
"name": "generate_from_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The template slug to render. | |
| format | No | Output: html, pdf (default), png, jpeg or webp. |