Buy a phone number at once
buy_instant_phone_numberCOSTS MONEY: Buy a phone number at once
Buys a number from GET /phone-numbers/instant and pays the first month plus VAT from your balance, like the instant buy on the billing page. The number joins your account at once; assign it to an agent afterwards.
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": {
"phoneNumberId": "<phoneNumberId>"
},
"name": "buy_instant_phone_number"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Leave out on the first call. EchoCall then answers with a confirmation value. Ask the user for a clear yes, then repeat the call with the same arguments and this value. | |
| phoneNumberId | Yes | phoneNumberId |