Validate and parse a phone number
data_validate_phoneCheck one phone number offline against the country's numbering plan (Google libphonenumber metadata): valid or not, E.164 form, national and international format, country, calling code and type (mobile, fixed_line, toll_free, premium_rate, voip and more). It does not show whether the number is in service or who holds it. Costs 0 credits.
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": {
"number": "<number>"
},
"name": "data_validate_phone"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | Yes | The phone number, best with + and the country code, such as +44 20 7946 0958. | |
| country | No | Optional two-letter ISO country code for a number written without + and its country code, such as US or VN. |