Publish WhatsApp flow
publish_whatsapp_flowPublish a WhatsApp Flow draft: it is uploaded to Meta and becomes sendable to customers. Only a draft can be published, and only when the stored compliance report was run on the draft as it is now and carries no errors — so call check_whatsapp_flow first and fix what it reports. Publishing is not reversible: a published flow is retired with deprecate_whatsapp_flow, not edited.
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": {
"flow_id": "<flow_id>"
},
"name": "publish_whatsapp_flow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flow_id | Yes |