Add leads to campaign
add_leads_to_campaignAdd leads from lists (or by id) to a campaign. Skips leads already in the campaign, unsubscribed, bounced or suppressed leads, and addresses verification found invalid. Asks for confirmation: the first call returns a preview and a confirm_token.
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": "add_leads_to_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| leadIds | No | ||
| listIds | No | ||
| allLeads | No | Every lead in the workspace | |
| confirm_token | No | Leave out on the first call: it returns a preview of exactly what will happen and a confirm_token. Show the preview to the user, and only after they agree call again with the same arguments plus that token. |