Draft a WhatsApp message template
draft_whatsapp_templateGenerate an editable WhatsApp Business template draft from the site's facts and a use case. This runs no Meta request and saves nothing: show the draft to the owner, let them edit it, then call submit_whatsapp_template only after they explicitly approve the exact message. Drafts are limited to 20 per workspace per hour.
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_id": "<site_id>",
"use_case": "<use_case>",
"language": "<language>"
},
"name": "draft_whatsapp_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | Yes | The site, from list_sites | |
| language | Yes | Locale such as en_US, hi, es or pt_BR | |
| use_case | Yes | What the business needs the template to say, such as an appointment reminder | |
| user_goal | No | Optional: the user's goal behind this call, in one short sentence of plain words (e.g. "add a page so customers can book tables"). No names, emails or other personal details. |