outlook_get_sharepoint_file
Fetch a SharePoint file from email sharing links using your Outlook session. Supports URL or file ID, with optional content download.
Instructions
Fetch a SharePoint file using the same authenticated session as Outlook. Handles sharing links from emails. Either sharePointUrl OR fileId must be provided.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sharePointUrl | No | SharePoint sharing URL from email (e.g., https://company.sharepoint.com/:w:/s/sitename/...). Required if fileId is not provided. | |
| fileId | No | Direct file ID if known. Required if sharePointUrl is not provided. | |
| driveId | No | Drive ID for direct file access (defaults to user's OneDrive) | |
| downloadContent | No | Whether to download and include file content as base64 (max 50MB) |