Move lead to another campaign
move_lead_to_campaignMoves a lead from one campaign to another: the lead's unsent emails in the source campaign are deleted, and if the target campaign is running, emails for the lead are enqueued there. Use it to re-route a lead into a better-fitting campaign.
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": {
"sourceCampaignId": "<sourceCampaignId>",
"leadId": "<leadId>",
"targetCampaignId": "<targetCampaignId>"
},
"name": "move_lead_to_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| leadId | Yes | The numeric lead ID (returned when the lead was created) | |
| sourceCampaignId | Yes | The campaign the lead is currently in | |
| targetCampaignId | Yes | The campaign to move the lead into |