wait_for_email
Poll an inbox until an email arrives and return it. Specify inbox ID and timeout (default 60s, max 300s). Helps extract OTP codes from verification emails during signup.
Instructions
Poll an inbox until an email arrives. Returns the email once received. Times out after the specified duration.
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": {
"inbox_id": "<inbox_id>"
},
"name": "wait_for_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inbox_id | Yes | The inbox ID to wait on | |
| timeout_seconds | No | Max seconds to wait (default: 60, max: 300) |