Save an email attachment to OneDrive
save_outlook_attachment_to_onedriveCopy one attachment of an Outlook message into this account's OneDrive, as-is — any file type, up to 10 MB, without reading it. Goes into the folder parentItemId (from list_onedrive_items or search_onedrive_items) or the drive root when omitted; the name defaults to the attachment's own, and a taken name gets a suffix rather than overwriting. Get attachmentId from get_outlook_message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | File name to save under; defaults to the attachment's name | |
| mailbox | Yes | Email address of the connected Outlook/Microsoft 365 mailbox to act on. Call list_authorized_mailboxes to see available options. | |
| messageId | Yes | ||
| attachmentId | Yes | ||
| parentItemId | No | Destination folder id; omit for the drive root |