Wait for Sandbox Email
sandbox_wait_for_emailPolls the sandbox for a matching incoming test email, then extracts 4-8 digit OTP codes and action links for zero-regex assertions.
Instructions
Poll and wait for a matching incoming test email in the sandbox. Automatically extracts 4-8 digit OTP codes and action links for zero-regex test assertions. Requires EMAILENS_API_KEY.
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": "sandbox_wait_for_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sender | No | Substring match for sender address (case-insensitive) | |
| inboxId | No | Optional inbox ID filter | |
| subject | No | Substring match for email subject (case-insensitive) | |
| timeoutSeconds | No | Max seconds to wait (default: 30, max: 60) |