Request OTP (one-time password)
request_otpSend a one-time password to a user's email and receive the otpId needed to complete authentication via OTP in PocketBase.
Instructions
Send a one-time password email to a user and return the otpId needed to complete auth_with_otp (requires SMTP and OTP auth enabled on the collection).
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>"
},
"name": "request_otp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | User email address. | ||
| collection | No | Auth collection (default 'users'). |