upsert_brevo_template
Create (no id) or update (with id) a Brevo email template (POST /smtp/templates | PUT /smtp/templates/{id}). Create requires templateName, subject, sender ({ name, email } or { id }) and htmlContent or htmlUrl. Optional: id, replyTo, toField, tag, isActive, attachmentUrl.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "upsert_brevo_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Brevo template ID to update; omit to create a new template | |
| tag | No | Tag for grouping the template in Brevo | |
| sender | No | Sender as { name, email } or { id } of a Brevo sender | |
| htmlUrl | No | URL from which Brevo loads the HTML body | |
| replyTo | No | Reply-to email address | |
| subject | No | Subject line | |
| toField | No | Personalised To field of the template | |
| isActive | No | Whether the template is active | |
| htmlContent | No | HTML body of the template (or use htmlUrl) | |
| templateName | No | Name of the template (required when creating) | |
| attachmentUrl | No | URL of a file attached to mails sent with this template |