mail_download_attachment
Download email attachments to a managed server directory, returning path, size, and SHA256 hash. Files are not parsed or executed, ensuring safe retrieval.
Instructions
下载原始附件到服务所在机器的受控目录,返回路径、大小、SHA256。不解析PDF/Word、不执行附件。
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": {
"account_id": "<account_id>",
"message_id": "<message_id>",
"attachment_id": "<attachment_id>"
},
"name": "mail_download_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | Yes | ||
| message_id | Yes | ||
| attachment_id | Yes |