list_messages
List emails from a specified folder, with options to filter for unread messages and limit the number of results. Defaults to INBOX and returns newest messages first.
Instructions
列出指定文件夹中的邮件(默认 INBOX,按 UID 倒序)
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": "list_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 返回条数,默认 20,最大 100 | |
| folder | No | 文件夹路径,如 INBOX | |
| unseen_only | No | 仅未读邮件 |