Send a newsletter
send_newsletterFor shop owners: ask to send a newsletter to the seller's subscribers from her own Gmail, now or at a time she picks (when). Nothing is sent by this call: the reply is needs_confirmation, and at its link she sees the exact email, the count and the time, and taps to send. unschedule: true takes a scheduled send back at once, sending nothing. Sending is part of Pro.
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": {
"newsletter": "<newsletter>",
"request_id": "<request_id>"
},
"name": "send_newsletter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| when | No | A time on the shop's clock to send it at, from 10 minutes to 60 days ahead; left out, it goes when she taps. For example "2026-12-04T09:00" for Friday at 9 am. | |
| revision | No | Required to send: its `revision` as last read; if it changed, nothing is held. | |
| newsletter | Yes | The newsletter's id (nlt_...). | |
| request_id | Yes | Unique per call; the same id again returns the first result. | |
| unschedule | No | Takes a scheduled send back now; nothing is sent. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| next | No | ||
| send | No | ||
| error | No | ||
| total | No | ||
| notice | No | ||
| outcome | No | ||
| examples | No | ||
| revision | No | ||
| timezone | No | ||
| preview_url | No | ||
| confirmation | No | ||
| scheduled_for | No |