Wait for a verification code
wait_for_codePoll a disposable inbox until the verification message arrives, then extract and return the OTP code. Use right after submitting a sign-up form to retrieve the code automatically.
Instructions
Poll a disposable inbox until a message arrives, then return the verification code (OTP) found in it. Ideal right after submitting a sign-up form. Times out gracefully.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | Only match messages from this sender (substring) | |
| address | No | Inbox address; defaults to the most recent inbox | |
| subject | No | Only match messages whose subject contains this text | |
| timeout_seconds | No | Max seconds to wait (default 120) |