Send a newsletter update
send_newsletterEmail a plain-text update to everyone who confirmed their subscription. Steps: (1) test: true emails it to the owner only; (2) show the owner and wait for their yes; (3) call again with the same subject and body and confirm: true to send to all subscribers (in batches over a few minutes). Without test or confirm it only returns the recipient count and the exact email text. The site name, why they get it and an unsubscribe link are added automatically.
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": {
"site": "<site>",
"subject": "<subject>",
"body": "<body>"
},
"name": "send_newsletter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Plain text. Blank lines separate paragraphs. Links as full URLs. | |
| site | Yes | Site slug (e.g. "kopitiam-muar") or id | |
| test | No | Send only to the owner, marked as a test | |
| confirm | No | Send to all subscribers. Only after a test and the owner's yes. | |
| subject | Yes |