Send a test email
argorant_send_test_emailSend one test of a campaign email to the user's own inbox, so they can see how it reads. Use it before a launch to check the text, variables and signature; nobody is added, nothing is scheduled and the campaign does not start, while argorant_launch_campaign sends to the campaign's people. It goes only to the user's own address (the default) or to a member of their workspace, never to anyone else, and at most 10 an hour. Pick the email with step, or test your own subject and body. It is sent from one of the campaign's mailboxes that can send, or from sender, and the variables are filled from a contact of the campaign or from sample. The answer says which mailbox sent it and who got it. 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_send_test_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Leave it out to send it to the user. Otherwise a member of their workspace. | |
| body | No | Test this text instead of a campaign email. | |
| step | No | Which email of the campaign, 1 for the first. | |
| sample | No | Fields of a made-up contact, such as first_name and company, to fill the email with. | |
| sender | No | A mailbox of the workspace that can send. Leave it out to use one of the campaign's. | |
| subject | No | Test this subject instead of the campaign email's own. | |
| campaign_id | Yes | The campaign's id, from argorant_list_campaigns. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |