手机号格式校验
validate_mobileValidate 11-digit mainland Chinese mobile numbers. Supports various formats including +86, spaces, and hyphens while automatically predicting the service provider based on the number segment.
Instructions
校验中国大陆 11 位手机号格式(支持 +86、空格、横线),按号段推测运营商
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_mobile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phone | Yes |