download_attachment
Download email attachments by part ID and receive base64-encoded content. Use the email's folder:uid identifier, such as INBOX:1, to fetch specific files.
Instructions
按 part_id 下载附件,返回 base64 内容;email_id 格式为 folder:uid,如 INBOX:1
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": {
"email_id": "<email_id>",
"part_id": "<part_id>"
},
"name": "download_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| part_id | Yes | ||
| email_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||