Phone number check
util_phoneUse when an agent must decide whether a phone number is usable before writing or calling: checks it offline, normalises it to E.164, works out its country (including the twelve calling codes shared by several countries) and validates the national length against that country's numbering plan, returning the tel: URI and the national dialling form. Data from Google's libphonenumber, no network call, so it cannot fail because a third party is down. $0.005 per call, paid over x402 (USDC).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phone | Yes | The phone number, in any usual notation: +34 612 34 56 78, 0034612345678, (612) 345-678. | |
| country | No | Optional ISO 3166-1 alpha-2 country, e.g. ES. Only used when the number carries no country code. |