Duplicate Campaign
duplicate_campaignCopy a campaign into a new draft, choosing which parts to keep (content, subject, sender, recipients, send settings, A/B setup; all kept by default). Lists, segments, tags or senders that were deleted since are skipped and reported. The copy is only a draft: nothing is scheduled or sent. Needs campaign_id; name defaults to Mailercloud's suggestion. For an A/B campaign ab_mode is whole (both variants, the default) or winner (only the winning variant, once one is decided). Set dry_run: true to see what would be copied and what can't be, without creating anything.
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": "duplicate_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name for the copy, up to 150 characters (default: the name Mailercloud suggests, like Copy (1) - original name) | |
| ab_mode | No | For an A/B campaign: whole (copy both variants; the default) or winner (copy only the winning variant; needs a decided winner) | |
| dry_run | No | Show what the copy would carry and what can no longer be used, without creating anything | |
| campaign_id | Yes | ID of the campaign to copy (regular or A/B, sent or not) | |
| keep_sender | No | Keep the sender and reply-to (default true) | |
| keep_content | No | Keep the email design and content (default true) | |
| keep_subject | No | Keep the subject and preview text (default true) | |
| keep_ab_setup | No | For an A/B campaign: keep the test setup (default true) | |
| keep_recipients | No | Keep the lists, segments, tags and exclusions (default true) | |
| keep_send_settings | No | Keep the send settings such as tracking and schedule options (default true) |