phone.normalize
Normalize any phone number to E.164 standard and classify its type and region. Get formats like international, national, and RFC3966, plus line type (mobile, fixed, VoIP, toll-free).
Instructions
E.164-normalize and classify a phone number using libphonenumber. Returns format variants (E.164, international, national, RFC3966) plus type (mobile, fixed_line, voip, premium_rate, toll_free, etc.) and region.
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": "phone.normalize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phone | Yes | Phone number in any format (national, international, etc.). | |
| defaultRegion | No | Optional 2-letter ISO region for parsing local numbers (default: US). |