Wait for a one-time code
wait_for_codeWait for a verification code (OTP) to arrive by email and return it. Trigger the code first (e.g. submit the sign-up form with your @agentline.nz address), then call this. Waits up to 55s; if it returns found=false, call it again. Each code is returned once.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel | No | Where the code will arrive (default any) | |
| from_contains | No | Only codes whose sender or text contains this, e.g. "Google" | |
| since_seconds | No | Consider messages from the last N seconds (default 600) | |
| timeout_seconds | No | How long to wait (default 45, max 55) |