suggest_step_variant
Draft an alternative version of one sequence step (invite note or message) to A/B test, using how the step performs, recent reply themes and the sender's writing skill. Nothing is saved: show the draft to the user and add it as a variant with update_campaign if they want it.
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>",
"step_id": "<step_id>"
},
"name": "suggest_step_variant"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| step_id | Yes | Id of the message step to draft a variant for (the step's `id` in the campaign's sequence, see get_campaign). | |
| campaign_id | Yes | Id of the campaign (from list_campaigns). |