otp_send_email
Send a one-time password via email for user verification. The email body must include the <%otp_code%> placeholder to insert the generated code.
Instructions
Send an OTP (One-Time Password) via Email. CRITICAL: The message parameter MUST contain the exact placeholder <%otp_code%>. If this placeholder is missing, the API call will fail with a 422 error. :param email: Recipient email address. :param subject: Email subject. :param message: Email body containing <%otp_code%> template (e.g. 'Your verification code is: <%otp_code%>'). :param expiry: OTP validity duration in minutes (default 5). :param length: Digit length of the OTP (default 4).
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": {
"email": "<email>",
"subject": "<subject>",
"message": "<message>"
},
"name": "otp_send_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | Recipient email address. | ||
| expiry | No | OTP validity duration in minutes (default 5). | |
| length | No | Digit length of the OTP (default 4). | |
| message | Yes | Email body containing `<%otp_code%>` template (e.g. 'Your verification code is: <%otp_code%>'). | |
| subject | Yes | Email subject. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||