Update ZeptoMail template
zeptomail_update_templatePartially update an email template for a specific ZeptoMail agent, using fresh agent and modified-time values to reject stale or incorrect edits. Requires confirmation before applying changes.
Instructions
Partially update a template in one explicit Agent. Requires expectedAgentName and expectedModifiedTime from fresh reads so a stale or wrong-Agent edit is rejected. Requires 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>",
"templateKey": "<templateKey>",
"expectedModifiedTime": "<expectedModifiedTime>"
},
"name": "zeptomail_update_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| subject | No | ||
| agentKey | Yes | Exact mailagent_key / Agent alias returned by zeptomail_list_agents. Never guess this value. | |
| htmlBody | No | ||
| textBody | No | ||
| templateKey | Yes | ||
| templateName | No | ||
| templateAlias | No | ||
| expectedAgentName | Yes | ||
| expectedModifiedTime | Yes |