phone_system_available_numbers
List available phone numbers by country code, applying filters for digit patterns, number types, and SMS/MMS/voice capabilities.
Instructions
List available phone numbers
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": {
"countryCode": "<countryCode>"
},
"name": "phone_system_available_numbers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| anywhere | No | Filter numbers that contain this digit pattern anywhere | |
| lastPart | No | Filter numbers that end with this digit pattern | |
| firstPart | No | Filter numbers that begin with this digit pattern | |
| locationId | No | The unique identifier of the location Defaults to GHL_LOCATION_ID when omitted. | |
| mmsEnabled | No | Filter for numbers with MMS capability | |
| smsEnabled | No | Filter for numbers with SMS capability | |
| countryCode | Yes | ISO 3166-1 alpha-2 country code for which to search available numbers | |
| numberTypes | No | Comma-separated list of phone number types to search for (e.g. local, tollFree, mobile) | |
| voiceEnabled | No | Filter for numbers with voice capability |