phone_verify
Validates and formats a phone number: validity, country, line type, E.164, international and national formats. Numbers without a leading + require 'country', since the end user's country cannot be inferred over MCP.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | Yes | Phone number to validate and format, ideally in E.164 format (e.g. +14155552671). | |
| country | No | ISO 3166-1 alpha-2 country code (e.g. US, FR). Required unless the number starts with +: over MCP the end user's country cannot be inferred. |