Request a phone number
request_numberCreate a managed phone-number request; live provider ordering and assignment still require operator approval.
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": {
"project_id": "<project_id>",
"country": "<country>"
},
"name": "request_number"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country | Yes | ||
| agent_id | No | ||
| project_id | Yes | ||
| number_type | No | ||
| customer_type | No | ||
| organization_id | No | Optional. Defaults to the authenticated workspace; when supplied it must be that workspace's id. | |
| agent_endpoint_id | No | ||
| customer_reference | No | ||
| preferred_phone_number | No | ||
| requested_capabilities | No | ||
| customer_purchase_confirmed | No | Set true only after the customer approves the number request and displayed prices. Number setup and rental require purchased funds; browser welcome credit cannot fund this request. |