send_otp
Send an OTP to an international phone number. A free OTP key sends from the WALoops WhatsApp number; channel may be whatsapp or 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": {
"phone": "<phone>",
"site_url": "<site_url>"
},
"name": "send_otp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phone | Yes | International digits, for example 919876543210. | |
| channel | No | ||
| purpose | No | OTP purpose; defaults to login. | login |
| site_url | Yes | URL of the app or site this OTP is for, e.g. https://myapp.com. Required by the OTP API so every key has a known site. |