Tools/phone
Phone Validation

Phone Validation

Active

Your agent has no idea whether a phone number is valid; this parses, validates, and formats it with region and line type.

2 tools

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.

Business & Companiesphonephone-numbervalidationformattinge164

Tools (2)

Format a phone number into E.164, national, international, or RFC3966 form.

Free

Example prompts

  • Format +14155552671 in national format
  • Convert this number to E.164
  • Give me the international format of 020 7946 0958 for the UK

Parameters

formatstringoptional

Output format. Defaults to e164.

numberstringrequired

The phone number. Include + and country code, or set 'region'.

regionstringoptional

Optional default region (2-letter ISO code) for national-format numbers.

API Usage

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"
  }
}'

CLI Usage

askfaro describe phone/phone.format

Install pip install askfaro-cli, then askfaro auth login.

Parse a phone number into validity, formats, region, and line type.

Free

Example prompts

  • Is +14155552671 a valid phone number?
  • Parse 020 7946 0958 for the UK
  • What country and line type is +919876543210?
  • Normalize "(415) 555-2671" to E.164

Parameters

numberstringrequired

The phone number. Include + and country code, or set 'region' for a national-format number.

regionstringoptional

Optional default region (2-letter ISO code, e.g. US, GB) for numbers without a country code.

API Usage

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?"
  }
}'

CLI Usage

askfaro describe phone/phone.parse

Install pip install askfaro-cli, then askfaro auth login.