send_sms
Send SMS messages via Twilio. Requires recipient's phone number in E.164 format and message body to dispatch text alerts or notifications.
Instructions
使用 Twilio API 发送短信 (SMS)
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": {
"to": "<to>",
"body": "<body>"
},
"name": "send_sms"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | 接收方手机号(E.164 格式,示例: +86xxxxxxxxxxx) | |
| body | Yes | 短信文本内容 | |
| from | No | 发送方 Twilio 号码,默认读取环境变量 TWILIO_FROM_NUMBER | |
| authToken | No | Twilio Auth Token,默认读取环境变量 TWILIO_AUTH_TOKEN | |
| accountSid | No | Twilio Account SID,默认读取环境变量 TWILIO_ACCOUNT_SID |