x420_validate_email-url-phone
Format validator (email, URL, phone): Syntax validation and normalisation: email (RFC 5322 simplified, lower-cased domain), URL (parsed, http/https), phone (E.164 normalisation with NANP rules). No network lookups. Not professional, legal, insurance, engineering, medical, financial or tax advice. Price: $0.01 USDC per call (x402 on Base). This hosted tool does NOT pay and does NOT return the deliverable: it validates the input and returns payment instructions (pay_to, network, price and the x402 URL to pay at). GET the url; read PAYMENT-REQUIRED from the 402; retry with PAYMENT-SIGNATURE (x402 v2). Or run the local x420-mcp server with your own wallet key to pay automatically. Deliverable once paid: JSON: email{valid, normalized, domain}, url{valid, normalized, host}, phone{valid, e164, country_code, national}.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "x420_validate_email-url-phone"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | URL to check (default: none) | |
| No | email address to check (default: none) | ||
| phone | No | phone number to normalise (default: none) | |
| default_country | No | ISO 3166 alpha-2 for phones without a + prefix (default US) |