create_outbound_call
Place an outbound call by dialing from_number first, then bridging to to_number. confirm_dialing=True is required to execute. Returns call data.
Instructions
⚠️ Place an outbound call. THIS ACTUALLY DIALS A REAL PHONE.
CallRail will dial from_number first; once that's answered, it
bridges to to_number. Both legs cost minutes against your bundle.
Misuse can constitute unlawful telemarketing — verify consent.
You must pass confirm_dialing=True to actually place the call.
This is a safety guard against accidental AI-driven cold-calls.
Args:
from_number: Your end of the call (typically your tracking number,
e.g. +14129548337). E.164 format.
to_number: Recipient's number. E.164 format.
confirm_dialing: REQUIRED — set True to actually dial. Returns
error envelope if False (default).
company_id: Optional company scope.
account_id: Auto-resolves if omitted.
Returns: The call object CallRail creates (id, etc.).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from_number | Yes | ||
| to_number | Yes | ||
| confirm_dialing | No | ||
| company_id | No | ||
| account_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |