get_phone_number
Get a phone number for this agent. Returns your existing number if you already have one, otherwise provisions a new one. Use it when a website or service asks for a phone number.
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": {
"api_key": "<api_key>"
},
"name": "get_phone_number"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | Note for yourself, e.g. 'signups' | |
| api_key | Yes | Your Dial API key (from sign_up) | |
| area_code | No | Preferred US/CA area code, e.g. 310 | |
| force_new | No | Provision another number even if one exists |