Publish template
publish_templatePublish a template, snapshotting an immutable version for sends. Automation email steps send templates by reference, so publishing changes every automation step that uses this template as well as sends by its alias.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "publish_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Template id (tpl_…) | |
| alias | No | Template alias (alternative to id) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| template | Yes | The template |