Rehearse a flow
rehearse_flowPlay a flow as the customer on Send4's simulator. No real customer
is texted. To start: flow_id and mode: inbound (first message in say), campaign (list
columns in context), webhook (request body in payload) or web_chat. Works on drafts. To
reply: conversation_id and say. To fast-forward: conversation_id and control (skip_wait
ends a wait card's timer, end_tail closes the follow-up window). The AI takes a few seconds: read the answer with read_rehearsal. It spends the AI allowance, and webhook, email
and Hanna cards send for real, marked as tests.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "rehearse_flow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| say | No | What the customer writes. | |
| mode | No | Defaults to inbound. | |
| context | No | `campaign` mode: the list columns. | |
| control | No | With `conversation_id`. | |
| flow_id | No | To start: from `list_flows`. | |
| payload | No | `webhook` mode: the request body. | |
| conversation_id | No | To go on: from an earlier answer of this tool. |