email_list_messages
List email message headers from a folder, sorted newest first. Filter messages using IMAP search syntax.
Instructions
列出指定 folder 中的訊息 header(最新優先)。可用 IMAP search syntax 篩選(預設 ALL)。
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": "email_list_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| folder | No | INBOX | |
| search | No | IMAP search 條件,如 UNSEEN / FROM "xxx@y.com" / SINCE 1-Jan-2026 | ALL |