Buy a dedicated number
purchase_dedicated_numberBuy a dedicated monthly phone number in a chosen country, charged to your balance for the first month after price confirmation. Returns a ded_ id used to read incoming SMS.
Instructions
Buy a dedicated monthly number in a country from search_dedicated_countries, charged to your balance immediately for the first month. Requires max_price_cents: the monthly price you showed the user and they approved; if the price is now higher, nothing is charged and the new price comes back to re-confirm. There is no cancel or refund - to stop paying, leave auto_renew off and let the month run out. Returns a ded_ id - call get_rental with it (and wait_seconds to wait for the next SMS) to read incoming SMS.
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": {
"country": "<country>",
"max_price_cents": "<max_price_cents>"
},
"name": "purchase_dedicated_number"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country | Yes | Country code or name from search_dedicated_countries (e.g. 'us', 'uk', 'germany') | |
| auto_renew | No | Charge the next month automatically at the end of each monthly period (ask the user first). An app connection can never turn it on: such a purchase is refused with nothing charged. | |
| max_price_cents | Yes | The price you showed the user and they approved, in US cents (e.g. 250 = $2.50). Nothing is charged if the current price is higher; the new price comes back so you can ask the user again. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dedicated_number | Yes |