create_batch
Create batch email jobs to send personalized messages to multiple recipients using templates and variables.
Instructions
Create a batch email job to send to multiple recipients
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>",
"from": "<from>",
"recipients": "<recipients>"
},
"name": "create_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Batch job name | |
| from | Yes | Sender email address | |
| subject | No | Email subject (can include {{variables}}) | |
| html | No | HTML content (can include {{variables}}) | |
| text | No | Plain text content (optional) | |
| templateId | No | Template ID to use instead of html/text (optional) | |
| recipients | Yes | Array of recipients with optional per-recipient variables | |
| replyTo | No | Reply-to address (optional) |