duplicate_campaign_tool
Duplicates an existing campaign (creates a copy with its sequence). Pass the campaignId to clone. The copy is a new draft campaign named 'Copy of ' (with a number added if the user already has a campaign by that name) and owned by the user, with fresh copies of all the original's sequence steps, the same lists and exclusions, and its AI prompt and company context, schedule and sending settings (its sender mailboxes, LinkedIn accounts and delegates only when the user owns the original), but none of its leads or sending history. The copy enrolls no one and sends nothing until it is started (update_campaign_status_tool). The call itself changes nothing in the original, but the copy's steps reuse the original's attachment files instead of getting copies of them, tying the two campaigns' attachments together: later deleting a step that holds those files, in either campaign, with delete_sequence_step_tool, delete_all_sequence_steps_tool or update_sequence_tool's delete_step action permanently deletes them for both, and the other campaign's messages for steps that list them then fail to send.
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": {
"campaignId": "<campaignId>"
},
"name": "duplicate_campaign_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| campaignId | Yes |