Update template
update_templateChange a saved template. Only the fields you pass are replaced; others keep their current values. Future renders with this template_id use the new version immediately.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| css | No | CSS applied when the template renders. | |
| name | No | Display name, 1-100 characters. | |
| engine | No | How content is interpreted. Default handlebars. | |
| content | No | Template body: Handlebars HTML ({{field}}, {{#each items}}) or Markdown. | |
| sample_data | No | Example JSON data, used for previews and as documentation of the fields. | |
| template_id | Yes | Template ID, e.g. tpl_1a2b3c (from list_templates). | |
| page_options | No | Default PDF page settings for this template. |