Update campaign
update_campaignRename a campaign or change its schedule, mailboxes and options.
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>"
},
"name": "update_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| days | No | Bitmask, bit 0 = Monday ... bit 6 = Sunday | |
| name | No | ||
| endOn | No | Optional last sending day (YYYY-MM-DD, in timezoneFallback). After it nothing goes out and the campaign pauses. Null = no end | |
| startOn | No | Optional first sending day (YYYY-MM-DD, in timezoneFallback). Null = start when launched | |
| dailyCap | No | First emails a day for the campaign; null = only mailbox limits | |
| dayHours | No | Hours for some weekdays instead of windowStart/windowEnd: {"4": [540, 780]} sends 9:00 to 13:00 on Fridays. Keys are day bits (0 = Monday). Null = the same window every day | |
| hourlyCap | No | Campaign emails (every step) in any 60 minutes; null = no hourly cap | |
| skipDates | No | Days off (holidays, breaks): YYYY-MM-DD, in each lead's own time zone. Nothing goes out on them, follow-ups wait. Past days are dropped on save | |
| skipRisky | No | Leave out risky and catch-all leads: skipped when added and before their first email | |
| weeklyCap | No | Campaign emails (every step) per week, Monday to Sunday in timezoneFallback; null = no weekly cap | |
| windowEnd | No | ||
| autoWinner | No | Pick the winner automatically: once an hour while the campaign runs, a step's variant is turned off when it and the leading variant have 100+ emails each, the leader has 5+ replies and it's 95% likely the leader gets more replies. Variants a person turns back on stay on | |
| mailboxIds | No | Replaces the campaign's mailboxes | |
| trackOpens | No | ||
| espMatching | No | ||
| sameVariant | No | Same variant in every step: a lead who got variant B in step 1 gets B in later steps too, when that step has a B turned on, so variants compare whole sequences. Off: each step picks its own variant | |
| stopOnReply | No | ||
| trackClicks | No | ||
| windowStart | No | Minutes after midnight | |
| stopForCompany | No | When a lead replies, stop the sequence for everyone at the same company domain (free-mail domains excluded) | |
| bounceThreshold | No | Pause at this bounce rate (%); null = workspace default | |
| noReplyAfterDays | No | Days after the last email before a lead who didn't reply moves to the follow-on campaign | |
| timezoneFallback | No | IANA timezone for leads without one | |
| noReplyCampaignId | No | No-reply follow-on: leads who finish this sequence without a reply move into this campaign (draft, running or paused) noReplyAfterDays after their last email. Applies to leads finishing from now on. Null = they stop here |