Launch, pause or stop a campaign
argorant_launch_campaignUse it when the user says "launch it", "go live", "pause the campaign" or "stop it". action=launch starts sending real email 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. To change settings use argorant_update_campaign, and to see an email first argorant_send_test_email. A launch is refused while the campaign has no email, mailbox or people, or while an email has text that would go out exactly as written (such as [link] 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 says that text is meant to be sent. Tell the user how many contacts wait for a missing value. 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 |