Create Template
create_templateCreate a new Postmark template or layout by providing a required name and at least one HTML or text body. Optionally configure an alias, subject, template type, and layout reference.
Instructions
Create a new template or layout. BLOCKED in read-only mode.
Provide at least one of html_body or text_body.
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": {
"name": "<name>"
},
"name": "create_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Template name. | |
| alias | No | Unique template alias. | |
| subject | No | Subject (required for Standard templates). | |
| html_body | No | ||
| text_body | No | ||
| template_type | No | Standard | |
| layout_template | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||