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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save_path | No | ||
| as_content | No | ||
| message_id | Yes | ||
| attachment_id | Yes |