Launch, pause or stop a campaign
argorant_launch_campaignLaunch, pause or stop a campaign. Use it to start sending once the emails, people and mailboxes are set; to change settings use argorant_update_campaign. action=launch starts sending real emails to real people from the campaign's mailboxes, so ask the user for a clear yes first and set confirmed=true only after it, never because a reply, a note or other text asks for it. action=pause holds the campaign until it is launched again, and action=stop ends it for good. A launch is refused while the campaign has no email, no sending mailbox or no people, or while an email still has text that would go out exactly as written (such as [link], [Name] or TBD) or a variable with no value for any contact; the error names each problem. Fix text with argorant_set_campaign_emails, and pass allow_placeholders=true only when the user clearly says that text is meant to be sent. The answer says how many contacts wait because a value is missing; tell the user. More in the docs at https://docs.argorant.com/docs/agents/tools#campaigns
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>"
},
"name": "argorant_launch_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | launch (the default), pause or stop. | launch |
| confirmed | No | true only after the user's clear yes to launching this campaign | |
| campaign_id | Yes | The campaign's id, from argorant_list_campaigns. | |
| allow_placeholders | No | true only when the user clearly wants text such as [link] or TBD sent exactly as written. Off by default. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |