Update a campaign
update_whatsapp_campaignUpdate a campaign. Changes a campaign's attributes. Send only the ones to change. After the campaign leaves draft, content attributes are locked and changing one answers 422; name, description, schedule, sending window and pace can still be edited, which is how a running campaign is slowed down. PUT is accepted as well as PATCH. Administrators only. Requires feature: whatsapp_campaigns.
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>",
"whatsapp_campaign": "<whatsapp_campaign>"
},
"name": "update_whatsapp_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the campaign | |
| whatsapp_campaign | Yes |