format_phone
Parse and format phone numbers into standardized formats by providing the number and an optional country code.
Instructions
Parse and format phone numbers
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": {
"phoneNumber": "<phoneNumber>"
},
"name": "format_phone"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phoneNumber | Yes | Phone number to parse and format | |
| countryCode | No | Country code (e.g., 'US', 'GB', 'FR') |