Update a template
lob_templates_updateUpdate template metadata or publish a new version by specifying the template ID and optional parameters like description, metadata, or published_version.
Instructions
Update a template's metadata or published version. To publish a new version, set published_version to a version ID (vrsn_…).
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": {
"id": "<id>"
},
"name": "lob_templates_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Template ID (`tmpl_…`). | |
| 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. | |
| metadata | No | Up to 20 string key/value pairs of arbitrary metadata to attach to the resource. | |
| description | No | ||
| published_version | No |