Create a template version
lob_template_versions_createCreate a new version of a template's HTML content without publishing it. Publishing requires a separate update step.
Instructions
Add a new version of a template's HTML. Creating a new version does NOT automatically publish it — use lob_templates_update to set published_version.
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": {
"template_id": "<template_id>",
"html": "<html>"
},
"name": "lob_template_versions_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | HTML content for this version. | |
| extra | No | Additional Lob API parameters not enumerated above. Merged into the request body verbatim. See https://docs.lob.com for the full parameter list per resource. | |
| engine | No | ||
| description | No | ||
| template_id | Yes | Template ID (`tmpl_…`). |