Update campaign
update_campaignChange a campaign: its title, description, message, schedule, audience, business-hours rule, the speaker it shows (sender_name, use_bot_identity) or whether it is enabled. Only the fields you pass change.
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": {
"campaign_id": "<campaign_id>"
},
"name": "update_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| enabled | No | ||
| message | No | ||
| audience | No | One-off campaigns only: the labels whose contacts receive the message. | |
| campaign_id | Yes | Campaign id as returned by list_campaigns. | |
| description | No | ||
| sender_name | No | Website campaigns only: the name the widget card shows as the speaker (for example "Ana"). Null clears it. | |
| scheduled_at | No | ||
| use_bot_identity | No | Website campaigns only: speak as the inbox's AI agent, with its name and picture. Falls back to sender_name when the inbox has no AI agent. | |
| trigger_only_during_business_hours | No |