Edit a WhatsApp message template draft
edit_whatsapp_template_draftValidate an owner-edited WhatsApp Business template draft without saving it or contacting Meta. Use this after changing an AI draft, then show the exact result and ask for approval before submit_whatsapp_template.
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>",
"name": "<name>",
"category": "<category>",
"language": "<language>",
"body": "<body>"
},
"name": "edit_whatsapp_template_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| name | Yes | Lowercase template name with letters, digits and underscores only | |
| buttons | No | ||
| site_id | Yes | The site, from list_sites | |
| category | Yes | ||
| language | Yes | Locale such as en_US, hi, es or pt_BR | |
| 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. | |
| footer_text | No | ||
| header_text | No | ||
| header_type | No | ||
| header_example | No | Site asset library URL, built-in starter image path or provider review handle for an IMAGE, VIDEO or DOCUMENT header sample | |
| variable_examples | No |