Send OTP code
send_otpSend a one-time password to a recipient via SMS, WhatsApp, or email with configurable code length and lifetime.
Instructions
Send a one-time password (OTP) to a recipient over SMS, WhatsApp, or email.
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>"
},
"name": "send_otp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient phone number or email, depending on channel. | |
| ttl | No | Code lifetime in seconds. Defaults to 300. | |
| length | No | Code length (4-8). Defaults to 6. | |
| channel | No | Delivery channel. Defaults to 'sms'. 'auto' picks based on the recipient. |