Prepare a call (preview, no call placed)
prepare_callPrepare and preview a phone call before placing it: validate the number, choose the language, build the script, and estimate maximum cost. No call is placed.
Instructions
Step 1 of 2. Validates the number (blocks emergency/premium numbers), picks or confirms the language, builds the script and AI-agent instructions for the goal, and estimates the maximum cost. Returns a PREVIEW (number, language, goal, script, cost) and a previewId. No call is placed. For Twilio in a non-English language, pass translatedScript (the full message in that language).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| goal | Yes | ||
| record | No | ||
| context | No | ||
| mustNot | No | ||
| language | No | ||
| provider | No | ||
| keyPoints | No | ||
| questions | No | ||
| callerName | Yes | ||
| maxMinutes | No | ||
| onBehalfOf | No | ||
| sampleText | No | ||
| calleeTimezone | No | ||
| translatedScript | No |