wait_for_otp
Automatically extracts OTP/verification codes from incoming emails for account verification flows. Monitors a disposable inbox and blocks until a code arrives or timeout is reached.
Instructions
Wait for an email to arrive and automatically extract the OTP/verification code. Blocks until an email with a code arrives or timeout is reached. This is the most useful tool for account verification flows.
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": "wait_for_otp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | The inbox email address to check for OTP | ||
| timeout | No | Max seconds to wait (1-60, default: 30) |