download_attachment
Download email attachments by email UID and attachment identifier, with security scanning that cancels the download if any threat is detected.
Instructions
Belirtilen e-postadaki eki indirir. GÜVENLİK ZORUNLULUĞU: Dosya kesinlikle indirilmeden önce Windows Defender ve çok katmanlı sezgisel virüs taramasından geçirilir. Tehdit bulunursa dosya derhal imha edilir ve indirme iptal edilir.
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>",
"attachmentIdentifier": "<attachmentIdentifier>"
},
"name": "download_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | E-postanın UID numarası | |
| folder | No | E-postanın bulunduğu klasör (Varsayılan: 'INBOX') | INBOX |
| targetDir | No | Ekin kaydedileceği yerel dizin (Varsayılan: './downloads') | ./downloads |
| attachmentIdentifier | Yes | Dosya adı (örn: 'fatura.pdf') veya ekin sırası (0, 1, 2 vb.) |