Download a course file to disk
bb_download_fileDownload files from Blackboard content items and save them locally, including Google Docs/Slides/Sheets exports as PDF or Office formats. Returns the saved file path.
Instructions
Downloads a file from a content item and saves it locally without extracting text. Use this for Office documents, images, archives, or anything the user wants to keep. Also handles content items that link to Google Slides/Docs/Sheets, fetching the export (pptx/docx/xlsx/pdf). Returns the saved path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Download every file on the item, not just the first. | |
| format | No | For externally-linked Google documents: pdf (default for download), pptx, docx, xlsx, csv, txt. | |
| courseId | Yes | Course id, e.g. "_12345_1". | |
| fileName | No | Pick by name substring when several files exist. | |
| contentId | Yes | Content item id holding the file. |