parse_phone_number
Extract country code and national number from international phone numbers and validate their formatting. Supports major country codes.
Instructions
Parse and validate international phone numbers.
Use this to extract country code, national number, and
validate formatting. Supports major country codes.
Parameters:
phone — Phone number string (e.g. '+441234567890').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phone | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |