phone.normalize
Normalize any phone number to E.164 format and classify its type (mobile, fixed line, voip, etc.) and region using libphonenumber.
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). |