Retrieve template
get_templateRetrieve an email template by ID or alias to review its draft content, publication status, and published version for editing or send preparation.
Instructions
GET /templates/:id. Returns a template by id or alias. html, subject and the other content fields show the current DRAFT; status is "draft" until the first publish, then "published"; version is the published version that sends use. Needs a full-access key. Read-only.
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": "get_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The template id or alias. |