outlook_get_sharepoint_file
Retrieve SharePoint files using your Outlook authenticated session, including sharing links from emails. Provide a SharePoint URL or file ID to access or download the file.
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 |
|---|---|---|---|
| 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) | |
| sharePointUrl | No | SharePoint sharing URL from email (e.g., https://company.sharepoint.com/:w:/s/sitename/...). Required if fileId is not provided. | |
| downloadContent | No | Whether to download and include file content as base64 (max 50MB) |