Chờ thư trong hộp
mail_inbox_waitWait for an OTP or a message matching a pattern in an inbox, up to a timeout; returns full content and extracted code, or 204 if no match.
Instructions
Khi cần chờ thư tới (ví dụ mã OTP hoặc thư khớp mẫu), chờ tối đa timeout giây; có thư khớp trả full nội dung + extracted_code, hết giờ trả 204. Gọi lại nếu cần chờ lâu hơn. / Use to wait for an OTP or a matching message.
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>",
"match": "<match>"
},
"name": "mail_inbox_wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| match | Yes | otp để lấy mã, hoặc regex khớp nội dung/subject/from. | |
| timeout | No | ||
| inbox_id | Yes |