Get latest verification code
get_latest_codeFetches a recent one-time verification code from an alias's email within a set time window; call after triggering sign-up or login and retry if null.
Instructions
Return the most recent one-time verification code (OTP) received by an alias within the last since_minutes minutes, extracted from the email subject/body. Use right after triggering a sign-up or login email. Returns null code if none arrived yet; wait and call again.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_latest_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alias | No | Alias address. Omit to search all aliases. | |
| since_minutes | No |