outlook_download_attachment
Download an Outlook email attachment to the configured attachments folder or return its content directly without writing a file, up to 10 MB.
Instructions
Download an attachment to save_path on the host, or return it with as_content=True.
save_path is resolved inside the configured attachments directory
(attachments_dir, an attachments folder in the settings directory by
default) — a bare filename lands there; a path outside it is refused. Same
directory for reads and writes. as_content writes nothing; 10 MB at most.
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": {
"message_id": "<message_id>",
"attachment_id": "<attachment_id>"
},
"name": "outlook_download_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save_path | No | ||
| as_content | No | ||
| message_id | Yes | ||
| attachment_id | Yes |