phone.normalize
Normalize phone numbers to E.164 and classify their type (mobile, VoIP, toll-free, etc.) and region, returning multiple standard formats.
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.
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). |