读取邮件全文
mail_readRead a full email by UID—subject, participants, date, plain-text body, and attachment list—while optionally keeping it unread for previews or marking it as read.
Instructions
按 uid 读取一封邮件的完整内容:主题、收发件人、时间、正文纯文本、附件清单(附件不会自动下载,需要正文后用 mail_save_attachment 另存)。默认读完即标记为已读;mark_read=false 可保持未读。
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": {
"uid": "<uid>"
},
"name": "mail_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | 邮件 uid,从 mail_search 结果里拿 | |
| folder | No | 邮件所在文件夹,默认 INBOX。uid 只在文件夹内唯一,换文件夹必须重新搜索。 | |
| mark_read | No | 默认 true;false 表示不改变已读状态(只读预览时用) | |
| max_chars | No | 正文最多返回多少字符,默认 20000 |