download-drive-item
download-drive-itemRetrieve a SharePoint file's content by drive and item IDs. Office documents, PDFs, TXT, and CSV are converted to text; other binary files are returned as base64, with size limits applied.
Instructions
Download a file's content from SharePoint. DOCX/XLSX/PPTX/PDF/TXT/CSV are converted to text; other binaries come back as base64. Size-limited by MAX_DOWNLOAD_BYTES.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemId | Yes | Value for itemId | |
| driveId | Yes | Value for driveId | |
| fileName | No | File name (helps pick the right text extractor) |