create-template
Create reusable email templates with HTML and plain text versions for transactional emails in Mailtrap Email Sending.
Instructions
Create a new email template
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>",
"subject": "<subject>"
},
"name": "create-template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the template | |
| subject | Yes | Email subject line | |
| html | No | HTML content of the template (optional) | |
| text | No | Plain text version of the template (optional) | |
| category | No | Template category (optional, defaults to 'General') |