create_outbound_call
Place a bridged outbound call by dialing your business line first, then the customer; requires confirm_dialing=True and US/Canada numbers.
Instructions
Place an outbound call. THIS ACTUALLY DIALS REAL PHONES.
CallRail dials business_phone_number FIRST; once that leg is
answered it dials customer_phone_number and bridges the two. Both
legs cost minutes against your bundle. Misuse can constitute unlawful
telemarketing, so verify consent.
US and Canadian numbers only (CallRail does not support outbound to the UK or Australia via this endpoint).
You must pass confirm_dialing=True to actually place the call.
Args:
caller_id: The number shown to the recipient. Must be one of your
CallRail tracking numbers or a verified Outbound Caller ID.
E.164 format.
business_phone_number: The FIRST leg CallRail dials (your agent's
phone). E.164 format.
customer_phone_number: The SECOND leg, bridged in once the
business leg answers. E.164 format.
confirm_dialing: REQUIRED. Set True to actually dial. Returns an
error envelope if False (default).
recording_enabled: Record this call.
outbound_greeting_text: Text-to-speech greeting played to the
customer.
outbound_greeting_recording_url: Public URL of an audio greeting,
used instead of outbound_greeting_text.
agent_id: 'USR...' id of the user to assign to the call.
account_id: Auto-resolves if omitted.
Returns: The call object CallRail creates (id, etc.).
NOTE (v1.2.0): earlier versions sent {"from", "to"}, which are not
fields CallRail accepts, so every call failed. The parameter names
above match the documented request body.
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": {
"caller_id": "<caller_id>",
"business_phone_number": "<business_phone_number>",
"customer_phone_number": "<customer_phone_number>"
},
"name": "create_outbound_call"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | No | ||
| caller_id | Yes | ||
| account_id | No | ||
| confirm_dialing | No | ||
| recording_enabled | No | ||
| business_phone_number | Yes | ||
| customer_phone_number | Yes | ||
| outbound_greeting_text | No | ||
| outbound_greeting_recording_url | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |