Create template
create_templateSave a new reusable template to the account and return its id. Templates are capped per plan (Free 3); at the cap this returns a tool error. Render it later with render_pdf or render_image and template_id plus data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| css | No | CSS applied when the template renders. | |
| name | Yes | Display name, 1-100 characters. | |
| engine | No | How content is interpreted. Default handlebars. | |
| content | Yes | Template body: Handlebars HTML ({{field}}, {{#each items}}) or Markdown. | |
| sample_data | No | Example JSON data, used for previews and as documentation of the fields. | |
| page_options | No | Default PDF page settings for this template. |