Your agent has no idea whether a phone number is valid; this parses, validates, and formats it with region and line type.
Parse, validate, and format phone numbers using Google's libphonenumber metadata: E.164 and national/international formatting, region, and line type. Validity means a number is well-formed for its numbering plan, not that the line is active. Computed locally.
Output format. Defaults to e164.
The phone number. Include + and country code, or set 'region'.
Optional default region (2-letter ISO code) for national-format numbers.
curl -X POST "https://skill.askfaro.com/skills/phone/run" \
-H "Authorization: Bearer faro_<your_key>" \
-H "Content-Type: application/json" \
-d '{
"intent": {
"prompt": "Format +14155552671 in national format"
}
}'askfaro describe phone/phone.format
Install pip install askfaro-cli, then askfaro auth login.
The phone number. Include + and country code, or set 'region' for a national-format number.
Optional default region (2-letter ISO code, e.g. US, GB) for numbers without a country code.
curl -X POST "https://skill.askfaro.com/skills/phone/run" \
-H "Authorization: Bearer faro_<your_key>" \
-H "Content-Type: application/json" \
-d '{
"intent": {
"prompt": "Is +14155552671 a valid phone number?"
}
}'askfaro describe phone/phone.parse
Install pip install askfaro-cli, then askfaro auth login.