Abstractphone Validate
abstractphone_validateValidate and enrich a phone number: returns whether it is valid, international/national formats, carrier, line type (mobile/landline/voip), and country/location. Example: abstractphone_validate({ phone: "14152007986", _apiKey: "your-key" })
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"phone": "14152007986",
"_apiKey": "your-abstract-phone-api-key"
},
"name": "abstractphone_validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phone | Yes | Phone number to validate. Include the country code for best results, e.g. "14152007986" or "+14152007986". If omitted, pass `country` (ISO2) so the number can be interpreted. | |
| _apiKey | Yes | Abstract API key for the Phone Validation API. Get one free at https://www.abstractapi.com/api/phone-validation-api (key is on the dashboard). | |
| country | No | Optional ISO 3166-1 alpha-2 country code (e.g. "US", "GB") to help interpret a number given without a country code. |