plan_newsletter_send
Calculates who would receive a newsletter, now or at a given time, and whether sending would be accepted. Nothing is sent and nothing is saved. Use it before send_newsletter.
| Tool name | plan_newsletter_send |
| Permission | newsletters:read |
readOnlyHint | true |
destructiveHint | false |
idempotentHint | true |
openWorldHint | false |
| REST call | GET /v1/newsletters/{newsletter_id}/send-preview |
#What it does
- Only reads data. It changes nothing and sends nothing.
#Input
The tool takes one flat object. Path, query and body fields of the REST call are merged into it.
| Name | Type | Required | Description |
|---|---|---|---|
newsletter_id | string | yes | ID of the newsletter, from list_newsletters. |
when | string | no | 'now' or a time in ISO 8601, for example 2026-11-03T10:00:00+01:00. A time without a zone counts as Zurich time. length 3 to 40; default "now" |
#Result
The result has the same content as the REST answer. Lists have at most 50 items per page (default 20); use cursor for the next page.
Errors come back as a tool result with isError: true. The error codes are the ones in Errors.