Parse phone number
parse_phoneParse/validate a phone number and return E.164, national/international formats, country and line type.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"phone": "<phone>"
},
"name": "parse_phone"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phone | Yes | Phone number in any format | |
| defaultCountry | No | ISO 3166-1 alpha-2 country used when the number has no +country code, e.g. US |