Tạo mẫu email
mail_template_createCreate reusable email templates with variable placeholders to avoid rewriting email content.
Instructions
Khi app dùng lại nội dung mail, tạo template với biến {{ten_bien}}. / Use to create a reusable 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>",
"html": "<html>"
},
"name": "mail_template_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | ||
| name | Yes | ||
| text | No | ||
| subject | Yes | ||
| idempotency_key | No | Giữ cùng key khi thử lại cùng yêu cầu trong 24 giờ. / Reuse for retries. |