Add a list to a campaign
add_list_to_campaignUse this when the user wants one more people list written to by a campaign, which holds up to 10 lists. In a running campaign the list's people are enrolled in the background and start receiving its messages, so confirm with the user first; in a draft they are enrolled at launch. A list the campaign already has is reported as already present. Free.
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>",
"listId": "<listId>"
},
"name": "add_list_to_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| listId | Yes | One of your people lists. | |
| campaignId | Yes | The campaign's id. |