validate_phone
Validate and format a phone number. Uses Google's libphonenumber plans. Returns validity, country, the E.164, national and international formats, and the line type (mobile, fixed line and others). It does not call the number. Nothing is stored.
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": {
"phone": "<phone>"
},
"name": "validate_phone"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phone | Yes | ||
| defaultCountry | No |