create_phone_number_route
Import a Twilio or Exotel phone number into ElevenLabs, configure credentials, and route inbound calls or SMS to your agent.
Instructions
Import Phone Number
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": "create_phone_number_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sid | No | Twilio Account SID (starts with `AC`) or API Key SID (starts with `SK`) | |
| label | No | Label for the phone number | |
| token | No | Secret paired with `sid`: the Account Auth Token for an Account SID, or the API Key Secret for an API Key SID | |
| app_id | No | Exotel applet identifier used in Calls/connect | |
| api_key | No | Exotel API Key | |
| agent_id | No | ||
| provider | No | ||
| api_token | No | Exotel API Token | |
| applet_url | No | ||
| enable_sms | No | Route inbound SMS to ElevenLabs. On by default; set to false to skip SMS configuration for numbers that don't support it. | |
| account_sid | No | Exotel Account SID | |
| phone_number | No | Phone number | |
| api_subdomain | No | ||
| region_config | No | ||
| supports_inbound | No | This field is deprecated and will be removed in the future. Whether this phone number supports inbound calls | |
| supports_outbound | No | This field is deprecated and will be removed in the future. Whether this phone number supports outbound calls | |
| account_auth_token | No | ||
| inbound_trunk_config | No | ||
| outbound_trunk_config | No |