delete_whatsapp_template
Delete a WhatsApp message template destructive
Description
PERMANENTLY delete a WhatsApp message template. META DELETES EVERY LANGUAGE OF A NAME AT ONCE, which is a wider blast radius than most callers picture, so call it WITHOUT confirm first: nothing is deleted and it reports exactly how many templates and which languages would go. Then show the user that, get an unambiguous yes, and call again with confirm:true AND confirmName set to the template’s exact name — confirming that you meant to delete SOMETHING does not prove you aimed at the right template. Any message sent against a deleted template afterwards is refused. The answer is a RE-READ from Meta, never the 200: if the template still comes back it is reported as not deleted. 0 credits.
Parameters
| Parameter | Type | Description |
|---|---|---|
wabaId | string | the WhatsApp Business Account id. Optional when exactly one is shared with this profile; an account that is not shared is refused by name |
namerequired | string | the template name (Meta matches it exactly) |
confirm | boolean | REQUIRED true to actually delete — deletion is permanent and covers every language |
confirmName | string | the template’s exact name, echoed back — required alongside confirm |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/delete_whatsapp_template.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"delete_whatsapp_template","arguments":{"name":"<string>"}}}
CLI
hermoso call delete_whatsapp_template --json '{"name":"<string>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
create_whatsapp_templateCreate a WhatsApp message templateread_whatsapp_inboxRead and answer WhatsApp messageslist_whatsapp_templatesWhatsApp message templatessend_whatsapp_messageSend a WhatsApp messagelist_whatsapp_accountsWhatsApp Business accounts and numberssend_whatsapp_broadcastBroadcast a WhatsApp template to many peoplemanage_whatsapp_numberWhatsApp number settings, blocklist and groupsmanage_whatsapp_flowWhatsApp forms (Flows)manage_whatsapp_callingWhatsApp callsmanage_whatsapp_accountWhatsApp account: notices, costs, catalog, ad conversions