preview_campaign_sequence_tool
Preview how a campaign's sequence step renders for sample prospects on its lists (variables filled in). The previews are only returned: it sends nothing, stores no messages, changes no campaign, contact or list, and charges no credits, with one exception: when it previews an AI-written step and the campaign's owner has no writing style yet, it first creates that owner's default writing style with style learning switched on, and a daily job then keeps adding and replacing that style's rules, which every later AI-written campaign message and reply follows. To write the preview it may look up the sample prospects' company websites and public LinkedIn posts and search the web. sequenceNumber is the step's sequenceNumber from get_campaign_sequence_steps_tool; samples is how many prospects to preview (1-10, default 3). Optional sequenceStepType renders the step as ai_generated (an AI-written message), ai_reply (an AI-written reply) or manual (the step's saved template with variables filled in) instead of its saved type; the saved step is not changed. Optional fromEmail, for email steps: the address of one of the user's connected mailboxes whose saved sender name, title and signature fill the preview's sender variables; nothing is sent from it. Useful to show the user the copy before activating; AI-written steps are written afresh for each contact when their message is queued, so the sent wording will differ.
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>",
"sequenceNumber": "<sequenceNumber>"
},
"name": "preview_campaign_sequence_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| samples | No | ||
| fromEmail | No | ||
| campaignId | Yes | ||
| sequenceNumber | Yes | ||
| sequenceStepType | No |