school_mail_download_attachment
Download a specified email attachment by UID and part index, save it to the project's local private folder, and return the saved file path. The mailbox stays unchanged.
Instructions
将指定邮件附件保存到项目的本地私人目录并返回路径。part_index 来自读取邮件的附件清单;此操作写入本地文件,邮箱内容保持不变。
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>",
"uid_validity": "<uid_validity>",
"part_index": "<part_index>"
},
"name": "school_mail_download_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | ||
| mailbox | No | INBOX | |
| part_index | Yes | ||
| uid_validity | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||