sms_format_number
Validate phone numbers and convert them to E.164 format for SMS messaging. This tool checks number validity, provides national formatting, and identifies country codes to ensure proper delivery through Twilio's SMS system.
Instructions
Validate a phone number and return its E.164 form, national format, and country code.
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": {
"params": "<params>"
},
"name": "sms_format_number"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |