Download File
download_fileDownload a file from Brightspace course content, assignment submissions, or announcement attachments — get it inline or save it to a chosen disk path.
Instructions
Download a file from course content, assignment submissions, or an announcement's attachments. Use this when the user wants a file from Brightspace course content, dropbox submissions, or an announcement (newsId + fileId, from get_announcements). Two response modes: (1) INLINE (default — omit downloadPath): the file comes back directly in the tool response — extracted text for PDFs and Office documents, an image block for jpeg/png/gif/webp, or a short description for anything else — so it can be read immediately without touching any filesystem. This is the right choice in clients like Claude Desktop, whose analysis/sandbox tools cannot see a file the MCP server writes to its own host filesystem. (2) DISK (set downloadPath to an absolute path on the HOST filesystem the MCP server runs on): the file is saved there. Ask the user where to save it before using disk mode — never guess a directory. After identifying the file, suggest a clean readable filename (e.g., 'Lecture 7 - Memory Management.pdf' instead of 'L07_CS251_2026SP_v2.pdf') and pass it as customFilename, or omit it to keep the original. If a content-topic download fails because the file isn't released yet, the response explains why when Brightspace's module/topic metadata supports it (not yet open, ended, locked, or hidden).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | No | Specific file ID within a dropbox submission, or an announcement attachment's file ID (with newsId). | |
| newsId | No | Announcement (news item) ID whose attachment to download. Requires fileId. | |
| topicId | No | Content topic ID to download (for course content files). | |
| courseId | Yes | Course ID the file belongs to. | |
| folderId | No | Dropbox folder ID (for submission/feedback file downloads). | |
| downloadPath | No | Absolute path to the directory where the file should be saved on disk. Omit this to receive the file inline in the tool response instead — the right choice in clients like Claude Desktop, whose analysis/sandbox tools cannot see files an MCP server writes to its own host filesystem. Inline mode returns extracted text for PDFs and Office documents, an image block for jpeg/png/gif/webp, and a short description (pointing back to disk mode) for anything else, capped at 10MB and 400,000 characters of extracted text. | |
| customFilename | No | Custom filename for the downloaded file (include extension). If not provided, uses the original filename from Brightspace. |