watch_new_emails
Monitor a mailbox for new messages, returning immediately upon arrival or after the configured timeout period.
Instructions
IMAP IDLE protokolünü kullanarak gelen kutusunu anlık olarak dinler. Yeni bir e-posta düştüğü anda veya zaman aşımı süresi dolduğunda sonucu döner.
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": "watch_new_emails"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | No | Dinlenecek klasör (Varsayılan: 'INBOX') | |
| timeoutSeconds | No | Yeni e-posta beklenirken beklenecek maksimum saniye (10-300 sn, varsayılan: 30 sn). Yeni mail gelirse anında döner. |