baasix_update_template
Update an email template's subject, description, or body to customize authentication, invitation, password reset, welcome, and verification emails.
Instructions
Update an email template's subject, description, or body content.
TEMPLATE TYPES:
magic_link: Magic link authentication emails
invite: User invitation emails
password_reset: Password reset emails
welcome: Welcome emails
verification: Email verification emails
AVAILABLE VARIABLES:
User: {{user.firstName}}, {{user.lastName}}, {{user.fullName}}, {{user.email}}
Tenant: {{tenant.name}}, {{tenant.logo}}, {{tenant.website}}
Auth: {{magicLink}}, {{magicCode}}, {{resetPasswordLink}}, {{inviteLink}}
DateTime: {{currentDate}}, {{currentTime}}, {{currentYear}}
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": {
"id": "<id>"
},
"name": "baasix_update_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Template ID (UUID) | |
| body | No | Template body as HTML string or GrapesJS project JSON | |
| subject | No | Email subject line (supports variables like {{user.firstName}}) | |
| isActive | No | Whether the template is active | |
| description | No | Template description |