download_file
Download files from OneDrive or SharePoint using file ID or path. Specify the site and output location as needed.
Instructions
Download a file from OneDrive or SharePoint
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | No | File item ID | |
| filePath | No | Alternative: file path (e.g., "/Documents/report.xlsx") | |
| siteId | No | SharePoint site ID (optional) | |
| site | No | Known SharePoint site alias or canonical URL | |
| siteUrl | No | Canonical SharePoint site URL (optional alternative to siteId) | |
| driveId | No | Drive ID for a specific document library (optional) | |
| outputPath | No | Local path to save the file (optional) |