Remove Lists from Campaign
remove_lists_from_campaignRemove one or more lists from a DRAFT campaign's recipients, keeping the others. The current lists are matched to list IDs by exact name; refuses (changing nothing) if a name is missing or ambiguous, if the campaign is not a draft or sends to a segment, or if no list would remain. Set dry_run: true to see the resulting lists first.
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>",
"list_ids": "<list_ids>"
},
"name": "remove_lists_from_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | Show the resulting list set without changing the campaign | |
| list_ids | Yes | List IDs to add or remove | |
| campaign_id | Yes | Draft campaign ID |