Create ZeptoMail template
zeptomail_create_templateCreate a new email template under a specified ZeptoMail agent. Supply the agent key and expected agent name, then confirm to save the template with subject and HTML or text body.
Instructions
Create a template in one explicit Agent. Requires agentKey plus expectedAgentName from a fresh zeptomail_list_agents call, server writes enabled, and confirm=true.
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": {
"agentKey": "<agentKey>",
"expectedAgentName": "<expectedAgentName>",
"templateName": "<templateName>",
"subject": "<subject>"
},
"name": "zeptomail_create_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| subject | Yes | ||
| agentKey | Yes | Exact mailagent_key / Agent alias returned by zeptomail_list_agents. Never guess this value. | |
| htmlBody | No | ||
| textBody | No | ||
| templateName | Yes | ||
| templateAlias | No | ||
| expectedAgentName | Yes |