Check a Pakistani mobile number
validate_phoneChecks a Pakistani mobile number in common formats and returns E.164, local, and WhatsApp versions plus its original network prefix (numbers may be ported).
Instructions
Checks a Pakistani mobile number in any common format (0300..., +92..., 0092...) and returns it in international (E.164), local and WhatsApp formats, plus the network its prefix was originally given to (numbers can be ported to another network).
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": "validate_phone"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phone | Yes | Mobile number, e.g. 0300 1234567 |