Download file(s)
download_fileDownloads Blackboard course files, folders, attachments, and embedded videos by content ID or direct URL using the logged-in session, then returns the saved local paths.
Instructions
Downloads files through the logged-in session and returns the local paths. Accepts one or many content ids (files, or folders/documents whose attachments and embedded videos are all fetched) and/or direct Blackboard URLs.
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": "download_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Direct Blackboard file URL (bbcswebdav) from another tool's output. | |
| urls | No | ||
| destDir | No | Absolute directory to save into. Default /root/Downloads/Blackboard/<course code>/ | |
| courseId | No | ||
| fileName | No | File name to save as when passing a single url. | |
| contentId | No | A file item, or a folder/document (takes every attached file and embedded video/image inside it). | |
| overwrite | No | Re-download even if the file already exists locally. Default false. | |
| contentIds | No | Several content ids from the same course. | |
| markAsOpened | No | Also tell Blackboard that the user opened this item (progress tracking -> 'Iniciado'). Default false. |