Update a lead form's routing
update_facebook_lead_formUpdate a lead form's routing. Sets what happens to the form's new leads: whether they are routed, the labels applied to the contact, and the WhatsApp template sent as a follow-up. When WhatsApp routing changes, the template is checked against the inbox's approved templates. Administrators only. Requires feature: facebook_marketing.
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": {
"id": "<id>",
"lead_form": "<lead_form>"
},
"name": "update_facebook_lead_form"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the lead form | |
| lead_form | Yes |