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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "outlook_get_sharepoint_file"
}
}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) |