Preview automation
preview_automationSee an automation's texts exactly as they would go out, without sending: works on drafts. Pass sample event properties (e.g. {"amount": 9.99}) and optionally to for a contact's merge fields. Returns each send_sms step's final text (brand and opt-out wording added as we would), segments, encoding, estimated cost, merge fields that would come out empty, and, for an optimal-user-time step with to, next_send: when it would go for that person and why.
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": {
"id": "<id>"
},
"name": "preview_automation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Automation id | |
| to | No | E.164. Fills contact merge fields and shows when an optimal-user-time text would go for this person | |
| properties | No | Sample event properties for merge fields, e.g. {"plan": "pro"} |