Schedule a newsletter
schedule_newsletterSends a newsletter to its audience: now, at a time, at a local time in each contact’s time zone, or at each contact’s best time on a day. A draft is marked ready first. Once scheduled it can only be cancelled with cancel_newsletter.
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": {
"campaignId": "<campaignId>"
},
"name": "schedule_newsletter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Leave out first: the tool then says exactly what will happen and changes nothing. Pass true only after the person has seen that and said yes. | |
| sendMode | No | fixed: at scheduledAt (now when left out). local: localTime in each contact’s zone. best: the localTime date at each contact’s usual opening hour. | |
| localTime | No | YYYY-MM-DDTHH:mm, for local and best. | |
| campaignId | Yes | Newsletter id from list_newsletters. | |
| scheduledAt | No | ISO date and time, for fixed. |