search_messages
Search emails in a mailbox using IMAP SEARCH with filters like sender, subject, date range, and unread status.
Instructions
按条件搜索邮件(IMAP SEARCH)
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": "search_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | 发件人包含的字符串 | |
| limit | No | 返回条数,默认 20 | |
| since | No | 起始日期,ISO 8601,如 2025-01-01 | |
| folder | No | 文件夹路径,默认 INBOX | |
| subject | No | 主题包含的字符串 | |
| unseen_only | No | 仅未读 |