format_phone
Format a phone number according to country conventions.
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": {
"number": "<number>"
},
"name": "format_phone"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | Yes | Phone number to format | |
| country | No | Country code (US, UK, DE, FR, etc.) | US |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| input | Yes | ||
| country | No | ||
| formatted | No | ||
| digits_only | No | ||
| country_code | No | ||
| international | No |