Upload a WhatsApp Flow definition
upload_whatsapp_flow_jsonUpload (replace) the Flow JSON of a draft flow, in Meta's Flow JSON format. Validation errors come back listed.
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": {
"accountId": "<accountId>",
"flowId": "<flowId>",
"flowJson": "<flowJson>"
},
"name": "upload_whatsapp_flow_json"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flowId | Yes | The WhatsApp flow, from list_whatsapp_flows. | |
| flowJson | Yes | The Flow JSON as text, in Meta's Flow JSON format. Errors come back listed instead of failing silently. | |
| accountId | Yes | Connected account id, from list_accounts. | |
| idempotencyKey | No | Optional. A unique id for this action (16-128 chars: letters, digits, _ : . -). If you are unsure whether a call went through (timeout, network error), repeat it with the SAME idempotencyKey and the same arguments: you get the original result and nothing is done twice. |