outlook_attach_to_draft
Attach files to an existing Outlook draft, automatically switching to an upload session for files over 3MB. Use it to add local or inline attachments and receive IDs for later removal.
Instructions
Add attachments to an existing draft; auto-switches to upload-session for files >3MB.
attachment_paths resolve inside the configured attachments directory
(attachments_dir, an attachments folder in the settings directory by
default) — a bare filename is looked up there, and a path outside it is
refused. attachments: inline files [{name, content_base64, content_type?}], up to
3MB each. Returns new attachment IDs for later removal via
outlook_remove_draft_attachment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft_id | Yes | ||
| attachments | No | ||
| attachment_paths | No |