起草邮件并存入草稿箱
mail_draftSave an email to the IMAP Drafts folder without sending it, so you can review or edit the message before sending.
Instructions
把一封邮件写进邮箱的草稿箱(IMAP Drafts),不发送。适合「先拟好,我自己再改改看」的场景。发送请用 mail_send。
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": {
"to": "<to>",
"subject": "<subject>",
"body": "<body>"
},
"name": "mail_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | 抄送,多个用逗号分隔 | |
| to | Yes | 收件人,多个用逗号分隔 | |
| body | Yes | 正文(纯文本) | |
| html | No | HTML 正文(可选,给了就同时带 HTML 版) | |
| subject | Yes | 主题 | |
| attachments | No | 附件数组。写法一:["D:\\a\\b.pdf"];写法二给显示名:["报告.pdf=D:\\a\\b.pdf"];写法三对象:{path:"D:\\a\\b.pdf", filename:"报告.pdf"}。相对路径按工作区解析。单个上限 20 MB,合计 25 MB。 |